Follow up fix for #111

Follow up fix for #111
master
Xonshiz 2020-01-05 23:05:33 -05:00
parent 0a0b864540
commit f17350d835
1 changed files with 1 additions and 1 deletions

View File

@ -89,7 +89,7 @@ def login_crunchyroll(url, username, password, country):
def login_check(html_source, cookies=None):
# Open the page and check the title. CrunchyRoll redirects the user and the title has the text "Redirecting...".
# If this is not found, you're probably not logged in and you'll just get 360p or 480p.
if "href=\"/logout\"" in html_source:
if b'href="/logout"' in html_source:
return True, cookies
else:
print("Let me check again...")