From 844855e3ba340d477c835b8ed9f7b1cd28a63103 Mon Sep 17 00:00:00 2001 From: Garfield69 Date: Thu, 25 May 2023 09:27:24 +1200 Subject: [PATCH] scenehd: tidy --- src/Jackett.Common/Indexers/SceneHD.cs | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/Jackett.Common/Indexers/SceneHD.cs b/src/Jackett.Common/Indexers/SceneHD.cs index 8dc425633..22dc86d21 100644 --- a/src/Jackett.Common/Indexers/SceneHD.cs +++ b/src/Jackett.Common/Indexers/SceneHD.cs @@ -33,16 +33,17 @@ namespace Jackett.Common.Indexers private new ConfigurationDataPasskey configData => (ConfigurationDataPasskey)base.configData; - public SceneHD(IIndexerConfigurationService configService, WebClient c, Logger l, IProtectionService ps, + public SceneHD(IIndexerConfigurationService configService, WebClient wc, Logger l, IProtectionService ps, ICacheService cs) : base(configService: configService, - client: c, + client: wc, logger: l, p: ps, cacheService: cs, configData: new ConfigurationDataPasskey("You can find the Passkey if you generate a RSS " + "feed link. It's the last parameter in the URL.")) { + wc.AddTrustedCertificate(new Uri(SiteLink).Host, "3A4090096DD95D31306B14BFDD8F8C98F52A8EA8"); // self signed } private TorznabCapabilities SetCapabilities() @@ -82,8 +83,6 @@ namespace Jackett.Common.Indexers public override void LoadValuesFromJson(JToken jsonConfig, bool useProtectionService = false) { base.LoadValuesFromJson(jsonConfig, useProtectionService); - - webclient?.AddTrustedCertificate(new Uri(SiteLink).Host, "3A4090096DD95D31306B14BFDD8F8C98F52A8EA8"); } public override async Task ApplyConfiguration(JToken configJson)