diff options
author | Remita Amine <remitamine@gmail.com> | 2019-03-02 08:25:47 +0100 |
---|---|---|
committer | Remita Amine <remitamine@gmail.com> | 2019-03-02 08:25:47 +0100 |
commit | a8f83f0c56e81b871a46c18fa9ebc6643370fa48 (patch) | |
tree | 7830bcb68f5e7f42e7abd0a988ff57967ad50031 /youtube_dl | |
parent | dca0e0040ae97b2fc0cd54d5e819a5a278937350 (diff) |
[crunchyroll] fix is_logged check
Diffstat (limited to 'youtube_dl')
-rw-r--r-- | youtube_dl/extractor/crunchyroll.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/extractor/crunchyroll.py b/youtube_dl/extractor/crunchyroll.py index ce2e2d3ba..fd1e7afad 100644 --- a/youtube_dl/extractor/crunchyroll.py +++ b/youtube_dl/extractor/crunchyroll.py @@ -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): |