diff options
author | Yen Chi Hsuan <yan12125@gmail.com> | 2016-06-09 19:00:13 +0800 |
---|---|---|
committer | Yen Chi Hsuan <yan12125@gmail.com> | 2016-06-09 19:00:13 +0800 |
commit | e2713d32f49f1bfa830cc755a96691c39da88290 (patch) | |
tree | db4a15ee3a1d50fcfb74e0fb03d756eb086976fb | |
parent | e21c26daf9dfb56b9bc4f18f30e7f1c724c9189e (diff) |
[openload] Fix extraction. Thanks @perron375 for the solution
Closes #9706
-rw-r--r-- | youtube_dl/extractor/openload.py | 2 |
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) |