mirror of
https://github.com/Radarr/Radarr
synced 2025-01-19 06:00:27 +00:00
fixed failing torznab test
This commit is contained in:
parent
9ad8311dd6
commit
21c901eab4
2 changed files with 5 additions and 2 deletions
|
@ -33,7 +33,7 @@ public override IIndexerRequestGenerator GetRequestGenerator()
|
||||||
{
|
{
|
||||||
return new NewznabRequestGenerator(_capabilitiesProvider)
|
return new NewznabRequestGenerator(_capabilitiesProvider)
|
||||||
{
|
{
|
||||||
PageSize = PageSize,
|
PageSize = PageSize,
|
||||||
Settings = Settings
|
Settings = Settings
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -25,7 +25,10 @@ public override string Name
|
||||||
}
|
}
|
||||||
|
|
||||||
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 a new issue