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:
parent
a85a324685
commit
5b6fe7fb12
1 changed files with 7 additions and 0 deletions
|
@ -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);
|
||||||
|
|
Loading…
Reference in a new issue