From dc2d17b57508ed4a238a2a252f44f15ebaea99fc Mon Sep 17 00:00:00 2001 From: Garfield69 Date: Mon, 23 Oct 2023 07:16:20 +1300 Subject: [PATCH] orpheus: default apiKeylength=116, apiKeyLengthLegacy=118. resolves #14791 --- src/Jackett.Common/Indexers/Orpheus.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Jackett.Common/Indexers/Orpheus.cs b/src/Jackett.Common/Indexers/Orpheus.cs index bd36e207e..03406cb2d 100644 --- a/src/Jackett.Common/Indexers/Orpheus.cs +++ b/src/Jackett.Common/Indexers/Orpheus.cs @@ -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)