aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl
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 /youtube_dl
parentad55e101651edc732acac22cfb25d276d6c8bdca (diff)
[openload] Fix extraction (closes #9472)
Diffstat (limited to 'youtube_dl')
-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)