mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-13 02:14:20 +01:00
[openload] Fix extraction (closes #9472)
This commit is contained in:
parent
ad55e10165
commit
cc1028aa6d
1 changed files with 1 additions and 1 deletions
|
@ -100,7 +100,7 @@ def _real_extract(self, url):
|
||||||
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…
Reference in a new issue