mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-24 13:46:53 +01:00
[openload] Fix extraction. Thanks @perron375 for the solution
Closes #9706
This commit is contained in:
parent
e21c26daf9
commit
e2713d32f4
@ -100,7 +100,7 @@ def _real_extract(self, url):
|
||||
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…
Reference in New Issue
Block a user