mirror of
https://github.com/Jackett/Jackett
synced 2024-12-29 11:17:22 +00:00
Improvement for TPB - combined TV and HDTV search into one
This commit is contained in:
parent
b864269aaa
commit
0fb395391b
1 changed files with 1 additions and 4 deletions
|
@ -29,8 +29,7 @@ namespace Jackett.Indexers
|
|||
public bool IsConfigured { get; private set; }
|
||||
|
||||
const string DefaultUrl = "https://thepiratebay.mn";
|
||||
const string SearchUrl = "/search/{0}/0/99/208";
|
||||
const string SearchUrl2 = "/search/{0}/0/99/205";
|
||||
const string SearchUrl = "/search/{0}/0/99/208,205";
|
||||
|
||||
string BaseUrl;
|
||||
|
||||
|
@ -101,9 +100,7 @@ namespace Jackett.Indexers
|
|||
var searchString = title + " " + query.GetEpisodeSearchString();
|
||||
var queryStr = HttpUtility.UrlEncode(searchString);
|
||||
var episodeSearchUrl = baseUrl + string.Format(SearchUrl, queryStr);
|
||||
var episodeSearchUrl2 = baseUrl + string.Format(SearchUrl2, queryStr);
|
||||
searchUrls.Add(episodeSearchUrl);
|
||||
searchUrls.Add(episodeSearchUrl2);
|
||||
}
|
||||
|
||||
foreach (var episodeSearchUrl in searchUrls)
|
||||
|
|
Loading…
Reference in a new issue