From 8e6bd9c9bc530df2d2a7f3874d04da9ec31d4865 Mon Sep 17 00:00:00 2001 From: seeyabye Date: Wed, 8 Sep 2021 00:28:37 +0900 Subject: [PATCH] redacted: api re-enabled (#11893) --- src/Jackett.Common/Indexers/Redacted.cs | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/src/Jackett.Common/Indexers/Redacted.cs b/src/Jackett.Common/Indexers/Redacted.cs index c3f5f7f36..4a2801946 100644 --- a/src/Jackett.Common/Indexers/Redacted.cs +++ b/src/Jackett.Common/Indexers/Redacted.cs @@ -13,10 +13,10 @@ namespace Jackett.Common.Indexers [ExcludeFromCodeCoverage] public class Redacted : GazelleTracker { - protected override string DownloadUrl => SiteLink + "torrents.php?action=download&usetoken=" + (useTokens ? "1" : "0") + "&id="; + protected override string DownloadUrl => SiteLink + "ajax.php?action=download&usetoken=" + (useTokens ? "1" : "0") + "&id="; public Redacted(IIndexerConfigurationService configService, WebClient wc, Logger l, IProtectionService ps, - ICacheService cs) + ICacheService cs) : base(id: "redacted", name: "Redacted", description: "A music tracker", @@ -46,8 +46,9 @@ namespace Jackett.Common.Indexers p: ps, cs: cs, supportsFreeleechTokens: true, - has2Fa: true, - useApiKey: false + has2Fa: false, + useApiKey: true, + instructionMessageOptional: "
  1. Go to Redacted's site and open your account settings.
  2. Go to Access Settings tab and copy the API Key.
  3. Ensure that you've checked Confirm API Key.
  4. Finally, click Save Profile.
" ) { Language = "en-us";