From: Remita Amine Date: Sat, 2 Mar 2019 07:25:47 +0000 (+0100) Subject: [crunchyroll] fix is_logged check X-Git-Url: http://git.bitcoin.ninja/?a=commitdiff_plain;h=a8f83f0c56e81b871a46c18fa9ebc6643370fa48;p=youtube-dl [crunchyroll] fix is_logged check --- 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 'Redirecting' in webpage + return 'href="/logout"' in webpage # Already logged in if is_logged(login_page):