mirror of https://github.com/Jackett/Jackett
psytorrents: drop expired certificate
This commit is contained in:
parent
b619360bf1
commit
46c6039144
|
@ -9,10 +9,6 @@ namespace Jackett.Common.Indexers
|
||||||
{
|
{
|
||||||
public class Psytorrents : GazelleTracker
|
public class Psytorrents : GazelleTracker
|
||||||
{
|
{
|
||||||
private static readonly string[] certificateHashs = new string[] {
|
|
||||||
"8375026D07C1EAE2DCE7157ABF255357366AE341", // expired
|
|
||||||
};
|
|
||||||
|
|
||||||
public Psytorrents(IIndexerConfigurationService configService, WebClient webClient, Logger logger, IProtectionService protectionService)
|
public Psytorrents(IIndexerConfigurationService configService, WebClient webClient, Logger logger, IProtectionService protectionService)
|
||||||
: base(name: "Psytorrents",
|
: base(name: "Psytorrents",
|
||||||
desc: "Psytorrents (PSY) is a Private Torrent Tracker for ELECTRONIC MUSIC",
|
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(1, TorznabCatType.Audio, "Music");
|
||||||
AddCategoryMapping(2, TorznabCatType.Movies, "Movies");
|
AddCategoryMapping(2, TorznabCatType.Movies, "Movies");
|
||||||
AddCategoryMapping(3, TorznabCatType.PC0day, "App");
|
AddCategoryMapping(3, TorznabCatType.PC0day, "App");
|
||||||
|
|
||||||
foreach (var certificateHash in certificateHashs)
|
|
||||||
webclient.AddTrustedCertificate(new Uri(SiteLink).Host, certificateHash);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue