mirror of
https://gitlab.com/ytdl-org/youtube-dl.git
synced 2025-11-01 14:42:22 -04:00
[crunchyroll] fix is_logged check
This commit is contained in:
@@ -60,7 +60,7 @@ class CrunchyrollBaseIE(InfoExtractor):
|
||||
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):
|
||||
|
||||
Reference in New Issue
Block a user