TorrentHeaven: add certificate hash

This commit is contained in:
kaso17 2019-04-13 15:52:00 +02:00
parent 8086b221ec
commit 2f96ffa15d
1 changed files with 3 additions and 0 deletions

View File

@ -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");