Set Newznab searching limit to 100 items, RSS queries will use the default (set per site, I think).
This commit is contained in:
parent
edfe2f1079
commit
067d735448
|
@ -43,13 +43,13 @@ namespace NzbDrone.Core.Providers.Indexer
|
||||||
{
|
{
|
||||||
if (searchModel.SearchType == SearchType.EpisodeSearch)
|
if (searchModel.SearchType == SearchType.EpisodeSearch)
|
||||||
{
|
{
|
||||||
searchUrls.Add(String.Format("{0}&q={1}&season{2}&ep{3}", url,
|
searchUrls.Add(String.Format("{0}&limit=100&q={1}&season{2}&ep{3}", url,
|
||||||
searchModel.SeriesTitle, searchModel.SeasonNumber, searchModel.EpisodeNumber));
|
searchModel.SeriesTitle, searchModel.SeasonNumber, searchModel.EpisodeNumber));
|
||||||
}
|
}
|
||||||
|
|
||||||
if (searchModel.SearchType == SearchType.SeasonSearch)
|
if (searchModel.SearchType == SearchType.SeasonSearch)
|
||||||
{
|
{
|
||||||
searchUrls.Add(String.Format("{0}&q={1}&season{2}", url, searchModel.SeriesTitle, searchModel.SeasonNumber));
|
searchUrls.Add(String.Format("{0}&limit=100&q={1}&season{2}", url, searchModel.SeriesTitle, searchModel.SeasonNumber));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue