aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/extractor/openload.py
diff options
context:
space:
mode:
authorYen Chi Hsuan <yan12125@gmail.com>2016-06-09 19:00:13 +0800
committerYen Chi Hsuan <yan12125@gmail.com>2016-06-09 19:00:13 +0800
commite2713d32f49f1bfa830cc755a96691c39da88290 (patch)
treedb4a15ee3a1d50fcfb74e0fb03d756eb086976fb /youtube_dl/extractor/openload.py
parente21c26daf9dfb56b9bc4f18f30e7f1c724c9189e (diff)
[openload] Fix extraction. Thanks @perron375 for the solution
Closes #9706
Diffstat (limited to 'youtube_dl/extractor/openload.py')
-rw-r--r--youtube_dl/extractor/openload.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/extractor/openload.py b/youtube_dl/extractor/openload.py
index 5049b870e..1b57462b5 100644
--- 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)