Browse Source

[crunchyroll] fix is_logged check

master-ytdl-org
Remita Amine 5 years ago
parent
commit
a8f83f0c56
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      youtube_dl/extractor/crunchyroll.py

+ 1
- 1
youtube_dl/extractor/crunchyroll.py View File

@ -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):


Loading…
Cancel
Save