1
0
Fork 0
mirror of https://codeberg.org/polarisfm/youtube-dl.git synced 2024-12-30 19:45:06 +00:00

[openload] Fix extraction. Thanks @perron375 for the solution

Closes #9706
This commit is contained in:
Yen Chi Hsuan 2016-06-09 19:00:13 +08:00
parent e21c26daf9
commit e2713d32f4
No known key found for this signature in database
GPG key ID: 3FDDD575826C5C30

View file

@ -100,7 +100,7 @@ class OpenloadIE(InfoExtractor):
raise ExtractorError('File not found', expected=True) raise ExtractorError('File not found', expected=True)
code = self._search_regex( code = self._search_regex(
r'</video>\s*</div>\s*<script[^>]+>([^<]+)</script>', r'</video>\s*</div>\s*<script[^>]+>[^>]+</script>\s*<script[^>]+>([^<]+)</script>',
webpage, 'JS code') webpage, 'JS code')
decoded = self.openload_decode(code) decoded = self.openload_decode(code)