projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a882c5f
)
[crunchyroll] Fix typo
author
Sergey M․
<dstftw@gmail.com>
Wed, 26 Aug 2015 15:27:57 +0000
(21:27 +0600)
committer
Sergey M․
<dstftw@gmail.com>
Wed, 26 Aug 2015 15:27:57 +0000
(21:27 +0600)
youtube_dl/extractor/crunchyroll.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/crunchyroll.py
b/youtube_dl/extractor/crunchyroll.py
index 801b9b48eaec585207afa589769a84e7f0a318dd..c2162aa68987f70db7576abeca2228be4460dd1d 100644
(file)
--- a/
youtube_dl/extractor/crunchyroll.py
+++ b/
youtube_dl/extractor/crunchyroll.py
@@
-250,7
+250,7
@@
Format: Layer, Start, End, Style, Name, MarginL, MarginR, MarginV, Effect, Text
raise ExtractorError('crunchyroll returned error: %s' % msg['message_body'], expected=True)
if 'To view this, please log in to verify you are 18 or older.' in webpage:
- self.raise_login_required(
video_id
)
+ self.raise_login_required()
video_title = self._html_search_regex(r'<h1[^>]*>(.+?)</h1>', webpage, 'video_title', flags=re.DOTALL)
video_title = re.sub(r' {2,}', ' ', video_title)