Update LoginNeeded logic for AnimeTorrents

pull/8/head
Qstick 3 years ago committed by GitHub
parent 92896dc777
commit c569792df2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -74,7 +74,7 @@ namespace NzbDrone.Core.Indexers.Definitions
protected override bool CheckIfLoginNeeded(HttpResponse httpResponse)
{
if (httpResponse.Content.Equals("Access Denied!"))
if (httpResponse.Content.Contains("Access Denied!") || httpResponse.Content.Contains("login.php"))
{
return true;
}

Loading…
Cancel
Save