fixed failing torznab test
This commit is contained in:
parent
9ad8311dd6
commit
21c901eab4
|
@ -33,7 +33,7 @@ namespace NzbDrone.Core.Indexers.Newznab
|
||||||
{
|
{
|
||||||
return new NewznabRequestGenerator(_capabilitiesProvider)
|
return new NewznabRequestGenerator(_capabilitiesProvider)
|
||||||
{
|
{
|
||||||
PageSize = PageSize,
|
PageSize = PageSize,
|
||||||
Settings = Settings
|
Settings = Settings
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -25,7 +25,10 @@ namespace NzbDrone.Core.Indexers.Torznab
|
||||||
}
|
}
|
||||||
|
|
||||||
public override DownloadProtocol Protocol { get { return DownloadProtocol.Torrent; } }
|
public override DownloadProtocol Protocol { get { return DownloadProtocol.Torrent; } }
|
||||||
public override int PageSize { get { return 100; } }
|
public override int PageSize
|
||||||
|
{
|
||||||
|
get { return _capabilitiesProvider.GetCapabilities(Settings).DefaultPageSize; }
|
||||||
|
}
|
||||||
|
|
||||||
public override IIndexerRequestGenerator GetRequestGenerator()
|
public override IIndexerRequestGenerator GetRequestGenerator()
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue