From 2f96ffa15d5df1b8ee1105418874bd99781cb3a6 Mon Sep 17 00:00:00 2001 From: kaso17 Date: Sat, 13 Apr 2019 15:52:00 +0200 Subject: [PATCH] TorrentHeaven: add certificate hash --- src/Jackett.Common/Indexers/TorrentHeaven.cs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/Jackett.Common/Indexers/TorrentHeaven.cs b/src/Jackett.Common/Indexers/TorrentHeaven.cs index 570c6063d..cd852f085 100644 --- a/src/Jackett.Common/Indexers/TorrentHeaven.cs +++ b/src/Jackett.Common/Indexers/TorrentHeaven.cs @@ -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");