mirror of
https://github.com/lidarr/Lidarr
synced 2024-12-31 20:15:55 +00:00
Better search urls for NzbMatrix
This commit is contained in:
parent
c9056998cf
commit
6f308b54f2
1 changed files with 2 additions and 3 deletions
|
@ -72,8 +72,7 @@ protected override IList<string> GetSeasonSearchUrls(string seriesTitle, int sea
|
||||||
|
|
||||||
foreach (var url in Urls)
|
foreach (var url in Urls)
|
||||||
{
|
{
|
||||||
searchUrls.Add(String.Format("{0}&term={1}+Season", url, seriesTitle));
|
searchUrls.Add(String.Format("{0}&term=(\"{1}+Season\",\"{1}+S{2:00}\")", url, seriesTitle, seasonNumber));
|
||||||
searchUrls.Add(String.Format("{0}&term={1}+S{2:00}", url, seriesTitle, seasonNumber));
|
|
||||||
}
|
}
|
||||||
|
|
||||||
return searchUrls;
|
return searchUrls;
|
||||||
|
@ -85,7 +84,7 @@ protected override IList<string> GetPartialSeasonSearchUrls(string seriesTitle,
|
||||||
|
|
||||||
foreach (var url in Urls)
|
foreach (var url in Urls)
|
||||||
{
|
{
|
||||||
searchUrls.Add(String.Format("{0}&term={1}+S{2:00}E{3}", url, seriesTitle, seasonNumber, episodeWildcard));
|
searchUrls.Add(String.Format("{0}&term=(\"{1}+S{2:00}E{3}\", \"{1}+{2}x{3}\")", url, seriesTitle, seasonNumber, episodeWildcard));
|
||||||
}
|
}
|
||||||
|
|
||||||
return searchUrls;
|
return searchUrls;
|
||||||
|
|
Loading…
Reference in a new issue