mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-24 07:40:30 +01:00
[crunchyroll] fix is_logged check
This commit is contained in:
parent
dca0e0040a
commit
a8f83f0c56
@ -60,7 +60,7 @@ def _login(self):
|
||||
self._LOGIN_URL, None, 'Downloading login page')
|
||||
|
||||
def is_logged(webpage):
|
||||
return '<title>Redirecting' in webpage
|
||||
return 'href="/logout"' in webpage
|
||||
|
||||
# Already logged in
|
||||
if is_logged(login_page):
|
||||
|
Loading…
Reference in New Issue
Block a user