mirror of
https://github.com/Jackett/Jackett
synced 2025-03-11 14:44:46 +00:00
redacted: api re-enabled (#11893)
This commit is contained in:
parent
74031ec709
commit
8e6bd9c9bc
1 changed files with 5 additions and 4 deletions
|
@ -13,10 +13,10 @@ namespace Jackett.Common.Indexers
|
||||||
[ExcludeFromCodeCoverage]
|
[ExcludeFromCodeCoverage]
|
||||||
public class Redacted : GazelleTracker
|
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,
|
public Redacted(IIndexerConfigurationService configService, WebClient wc, Logger l, IProtectionService ps,
|
||||||
ICacheService cs)
|
ICacheService cs)
|
||||||
: base(id: "redacted",
|
: base(id: "redacted",
|
||||||
name: "Redacted",
|
name: "Redacted",
|
||||||
description: "A music tracker",
|
description: "A music tracker",
|
||||||
|
@ -46,8 +46,9 @@ namespace Jackett.Common.Indexers
|
||||||
p: ps,
|
p: ps,
|
||||||
cs: cs,
|
cs: cs,
|
||||||
supportsFreeleechTokens: true,
|
supportsFreeleechTokens: true,
|
||||||
has2Fa: true,
|
has2Fa: false,
|
||||||
useApiKey: 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";
|
Language = "en-us";
|
||||||
|
|
Loading…
Add table
Reference in a new issue