psytorrents: drop expired certificate

This commit is contained in:
Garfield69 2019-05-07 15:28:14 +12:00
parent b619360bf1
commit 46c6039144
1 changed files with 0 additions and 7 deletions

View File

@ -9,10 +9,6 @@ namespace Jackett.Common.Indexers
{
public class Psytorrents : GazelleTracker
{
private static readonly string[] certificateHashs = new string[] {
"8375026D07C1EAE2DCE7157ABF255357366AE341", // expired
};
public Psytorrents(IIndexerConfigurationService configService, WebClient webClient, Logger logger, IProtectionService protectionService)
: base(name: "Psytorrents",
desc: "Psytorrents (PSY) is a Private Torrent Tracker for ELECTRONIC MUSIC",
@ -31,9 +27,6 @@ namespace Jackett.Common.Indexers
AddCategoryMapping(1, TorznabCatType.Audio, "Music");
AddCategoryMapping(2, TorznabCatType.Movies, "Movies");
AddCategoryMapping(3, TorznabCatType.PC0day, "App");
foreach (var certificateHash in certificateHashs)
webclient.AddTrustedCertificate(new Uri(SiteLink).Host, certificateHash);
}
}
}