1
0
Fork 0
mirror of https://github.com/Jackett/Jackett synced 2024-12-24 08:45:47 +00:00

iptorrents: trust expired cert for *.octopus.town

This commit is contained in:
ilike2burnthing 2023-09-03 05:11:21 +01:00 committed by GitHub
parent a85a324685
commit 5b6fe7fb12
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -183,6 +183,13 @@ namespace Jackett.Common.Indexers
return caps; return caps;
} }
public override void LoadValuesFromJson(JToken jsonConfig, bool useProtectionService = false)
{
base.LoadValuesFromJson(jsonConfig, useProtectionService);
webclient?.AddTrustedCertificate(new Uri(SiteLink).Host, "44E390F897BC01083CE3DB0E8266A210735470E3"); // for *.octopus.town expired 02/Sep/23
}
public override async Task<IndexerConfigurationStatus> ApplyConfiguration(JToken configJson) public override async Task<IndexerConfigurationStatus> ApplyConfiguration(JToken configJson)
{ {
LoadValuesFromJson(configJson); LoadValuesFromJson(configJson);