redacted: api re-enabled (#11893)

This commit is contained in:
seeyabye 2021-09-08 00:28:37 +09:00 committed by GitHub
parent 74031ec709
commit 8e6bd9c9bc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 4 deletions

View File

@ -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: "<ol><li>Go to Redacted's site and open your account settings.</li><li>Go to <b>Access Settings</b> tab and copy the API Key.</li><li>Ensure that you've checked <b>Confirm API Key</b>.</li><li>Finally, click <b>Save Profile</b>.</li></ol>"
)
{
Language = "en-us";