orpheus: default apiKeylength=116, apiKeyLengthLegacy=118. resolves #14791

This commit is contained in:
Garfield69
2023-10-23 07:16:20 +13:00
parent 5a2718a14b
commit dc2d17b575

View File

@@ -23,7 +23,8 @@ namespace Jackett.Common.Indexers
// API Reference: https://github.com/OPSnet/Gazelle/wiki/JSON-API-Documentation
protected override string DownloadUrl => SiteLink + "ajax.php?action=download" + (useTokens ? "&usetoken=1" : "") + "&id=";
protected override string AuthorizationFormat => "token {0}";
protected override int ApiKeyLength => 118;
protected override int ApiKeyLength => 116;
protected override int ApiKeyLengthLegacy => 118;
protected override string FlipOptionalTokenString(string requestLink) => requestLink.Replace("&usetoken=1", "");
public Orpheus(IIndexerConfigurationService configService, WebClient wc, Logger l, IProtectionService ps,
ICacheService cs)