mirror of https://github.com/Jackett/Jackett
Don't use https for HD-Torrents (doesn't work on mono)
This commit is contained in:
parent
4b152b438b
commit
b864269aaa
|
@ -18,10 +18,10 @@ namespace Jackett.Indexers
|
||||||
|
|
||||||
public event Action<IndexerInterface, string, Exception> OnResultParsingError;
|
public event Action<IndexerInterface, string, Exception> OnResultParsingError;
|
||||||
|
|
||||||
const string DefaultUrl = "https://hd-torrents.org";
|
const string DefaultUrl = "http://hd-torrents.org";
|
||||||
string BaseUrl = DefaultUrl;
|
string BaseUrl = DefaultUrl;
|
||||||
static string chromeUserAgent = BrowserUtil.ChromeUserAgent;
|
static string chromeUserAgent = BrowserUtil.ChromeUserAgent;
|
||||||
private string SearchUrl = "https://hd-torrents.org/torrents.php?search={0}&active=1&options=0&category%5B%5D=59&category%5B%5D=60&category%5B%5D=30&category%5B%5D=38&page={1}";
|
private string SearchUrl = DefaultUrl + "/torrents.php?search={0}&active=1&options=0&category%5B%5D=59&category%5B%5D=60&category%5B%5D=30&category%5B%5D=38&page={1}";
|
||||||
private static string LoginUrl = DefaultUrl + "/login.php";
|
private static string LoginUrl = DefaultUrl + "/login.php";
|
||||||
private static string LoginPostUrl = DefaultUrl + "/login.php?returnto=index.php";
|
private static string LoginPostUrl = DefaultUrl + "/login.php?returnto=index.php";
|
||||||
private const int MAXPAGES = 3;
|
private const int MAXPAGES = 3;
|
||||||
|
|
Loading…
Reference in New Issue