Browse Source

[openload] Fix extraction (closes #9472)

master
Yen Chi Hsuan 8 years ago
parent
commit
cc1028aa6d
No known key found for this signature in database GPG Key ID: 3FDDD575826C5C30
1 changed files with 1 additions and 1 deletions
  1. 2
      youtube_dl/extractor/openload.py

2
youtube_dl/extractor/openload.py

@ -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*<script[^>]+>([^<]+)</script>',
r'</video>\s*</div>\s*<script[^>]+>([^<]+)</script>',
webpage, 'JS code') webpage, 'JS code')
decoded = self.openload_decode(code) decoded = self.openload_decode(code)

Loading…
Cancel
Save