summary refs log tree commit diff
diff options
context:
space:
mode:
authorYen Chi Hsuan <yan12125@gmail.com>2016-05-13 18:11:08 +0800
committerYen Chi Hsuan <yan12125@gmail.com>2016-05-13 18:11:08 +0800
commitcc1028aa6d27aeec39617d1ff8d2edcf1ee989d7 (patch)
tree67c564b9d6dda94b9bdf46558d748d43429f0846
parentad55e101651edc732acac22cfb25d276d6c8bdca (diff)
downloadyoutube-dl-cc1028aa6d27aeec39617d1ff8d2edcf1ee989d7.tar.gz
youtube-dl-cc1028aa6d27aeec39617d1ff8d2edcf1ee989d7.tar.xz
youtube-dl-cc1028aa6d27aeec39617d1ff8d2edcf1ee989d7.zip
[openload] Fix extraction (closes #9472)
-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 456561bcc..5049b870e 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*<script[^>]+>([^<]+)</script>',
+            r'</video>\s*</div>\s*<script[^>]+>([^<]+)</script>',
             webpage, 'JS code')
 
         decoded = self.openload_decode(code)