mirror of
https://github.com/Jackett/Jackett
synced 2025-03-09 21:54:51 +00:00
redacted: reverted from api to user based login (#9803)
This commit is contained in:
parent
40d8dbc35c
commit
b4aa772239
1 changed files with 3 additions and 4 deletions
|
@ -13,7 +13,7 @@ namespace Jackett.Common.Indexers
|
||||||
[ExcludeFromCodeCoverage]
|
[ExcludeFromCodeCoverage]
|
||||||
public class Redacted : GazelleTracker
|
public class Redacted : GazelleTracker
|
||||||
{
|
{
|
||||||
protected override string DownloadUrl => SiteLink + "ajax.php?action=download&usetoken=" + (useTokens ? "1" : "0") + "&id=";
|
protected override string DownloadUrl => SiteLink + "torrents.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)
|
||||||
: base(id: "redacted",
|
: base(id: "redacted",
|
||||||
|
@ -29,9 +29,8 @@ namespace Jackett.Common.Indexers
|
||||||
logger: l,
|
logger: l,
|
||||||
p: ps,
|
p: ps,
|
||||||
supportsFreeleechTokens: true,
|
supportsFreeleechTokens: true,
|
||||||
has2Fa: false,
|
has2Fa: true,
|
||||||
useApiKey: true,
|
useApiKey: false
|
||||||
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