projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dca0e00
)
[crunchyroll] fix is_logged check
author
Remita Amine
<remitamine@gmail.com>
Sat, 2 Mar 2019 07:25:47 +0000
(08:25 +0100)
committer
Remita Amine
<remitamine@gmail.com>
Sat, 2 Mar 2019 07:25:47 +0000
(08:25 +0100)
youtube_dl/extractor/crunchyroll.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/crunchyroll.py
b/youtube_dl/extractor/crunchyroll.py
index ce2e2d3ba2c7f041f7a90eb85957c9e5800e838e..fd1e7afad298a6df57ad86a77e31116c9133b71b 100644
(file)
--- 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):