More AnimeTorrents work

This commit is contained in:
Qstick
2021-02-20 17:09:25 -05:00
parent 0ac420d39a
commit c74208f9de
7 changed files with 42 additions and 33 deletions
@@ -32,12 +32,12 @@ namespace NzbDrone.Core.Indexers.Torznab
if (code >= 100 && code <= 199)
{
throw new ApiKeyException("Invalid API key");
throw new IndexerAuthException("Invalid API key");
}
if (!indexerResponse.Request.Url.FullUri.Contains("apikey=") && errorMessage == "Missing parameter")
{
throw new ApiKeyException("Indexer requires an API key");
throw new IndexerAuthException("Indexer requires an API key");
}
if (errorMessage == "Request limit reached")