projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e21c26d
)
[openload] Fix extraction. Thanks @perron375 for the solution
author
Yen Chi Hsuan
<yan12125@gmail.com>
Thu, 9 Jun 2016 11:00:13 +0000
(19:00 +0800)
committer
Yen Chi Hsuan
<yan12125@gmail.com>
Thu, 9 Jun 2016 11:00:13 +0000
(19:00 +0800)
Closes #9706
youtube_dl/extractor/openload.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/openload.py
b/youtube_dl/extractor/openload.py
index 5049b870ed198f3ce4f702c07efe98559d453ef2..1b57462b5072c36c2d6bd52c93146a78e1eb4ec2 100644
(file)
--- a/
youtube_dl/extractor/openload.py
+++ b/
youtube_dl/extractor/openload.py
@@
-100,7
+100,7
@@
class OpenloadIE(InfoExtractor):
raise ExtractorError('File not found', expected=True)
code = self._search_regex(
- r'</video>\s*</div>\s*<script[^>]+>([^<]+)</script>',
+ r'</video>\s*</div>\s*<script[^>]+>
[^>]+</script>\s*<script[^>]+>
([^<]+)</script>',
webpage, 'JS code')
decoded = self.openload_decode(code)