mirror of
https://github.com/Jackett/Jackett.git
synced 2025-09-17 17:34:09 +02:00
TorrentHeaven: add certificate hash
This commit is contained in:
@@ -22,6 +22,7 @@ namespace Jackett.Common.Indexers
|
||||
public override string[] LegacySiteLinks { get; protected set; } = new string[] {
|
||||
"https://torrentheaven.myfqdn.info/",
|
||||
};
|
||||
|
||||
private string IndexUrl { get { return SiteLink + "index.php"; } }
|
||||
private string LoginCompleteUrl { get { return SiteLink + "index.php?strWebValue=account&strWebAction=login_complete&ancestry=verify"; } }
|
||||
|
||||
@@ -46,6 +47,8 @@ namespace Jackett.Common.Indexers
|
||||
Language = "de-de";
|
||||
Type = "private";
|
||||
|
||||
wc.AddTrustedCertificate(new Uri(SiteLink).Host, "cbf23ac75b07255ad7548a87567a839d23f31576"); // incomplete CA chain
|
||||
|
||||
AddCategoryMapping(1, TorznabCatType.PCGames, "GAMES/PC");
|
||||
AddCategoryMapping(3, TorznabCatType.Console, "GAMES/Sonstige");
|
||||
AddCategoryMapping(59, TorznabCatType.ConsolePS4, "GAMES/PlayStation");
|
||||
|
Reference in New Issue
Block a user