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
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -74,7 +74,7 @@ protected override void DoLogin()
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;
}