Browse Source

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

Closes #9706
totalwebcasting
Yen Chi Hsuan 9 years ago
parent
commit
e2713d32f4
No known key found for this signature in database GPG Key ID: 3FDDD575826C5C30
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      youtube_dl/extractor/openload.py

+ 1
- 1
youtube_dl/extractor/openload.py View File

@ -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)


Loading…
Cancel
Save