1
0
Fork 0
mirror of https://github.com/Jackett/Jackett synced 2025-03-09 13:52:03 +00:00

redacted: reverted from api to user based login (#9803)

This commit is contained in:
seeyabye 2020-10-10 17:07:20 +09:00 committed by GitHub
parent 40d8dbc35c
commit b4aa772239
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -13,7 +13,7 @@ namespace Jackett.Common.Indexers
[ExcludeFromCodeCoverage]
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)
: base(id: "redacted",
@ -29,9 +29,8 @@ namespace Jackett.Common.Indexers
logger: l,
p: ps,
supportsFreeleechTokens: true,
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>"
has2Fa: true,
useApiKey: false
)
{
Language = "en-us";