1
0
mirror of https://github.com/ytdl-org/youtube-dl.git synced 2024-12-23 08:26:50 +00:00

[openload] Fix extraction (closes #9472)

This commit is contained in:
Yen Chi Hsuan 2016-05-13 18:11:08 +08:00
parent ad55e10165
commit cc1028aa6d
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)
code = self._search_regex(
r'<video[^>]+>\s*<script[^>]+>([^<]+)</script>',
r'</video>\s*</div>\s*<script[^>]+>([^<]+)</script>',
webpage, 'JS code')
decoded = self.openload_decode(code)