Update LoginNeeded logic for AnimeTorrents

This commit is contained in:
Qstick
2021-02-20 13:16:43 -05:00
committed by GitHub
parent 92896dc777
commit c569792df2

View File

@@ -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;
}