projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ad55e10
)
[openload] Fix extraction (closes #9472)
author
Yen Chi Hsuan
<yan12125@gmail.com>
Fri, 13 May 2016 10:11:08 +0000
(18:11 +0800)
committer
Yen Chi Hsuan
<yan12125@gmail.com>
Fri, 13 May 2016 10:11:08 +0000
(18:11 +0800)
youtube_dl/extractor/openload.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/openload.py
b/youtube_dl/extractor/openload.py
index 456561bcc6bcc41c5d4ae9726693a7d1b2531224..5049b870ed198f3ce4f702c07efe98559d453ef2 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*<script[^>]+>([^<]+)</script>',
+ r'<
/video>\s*</div
>\s*<script[^>]+>([^<]+)</script>',
webpage, 'JS code')
decoded = self.openload_decode(code)