mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-05 02:32:44 +01:00
[escapist] Support JavaScript player (Fixes #5034)
This commit is contained in:
parent
db8e13ef71
commit
54233c9080
@ -42,7 +42,14 @@ def _real_extract(self, url):
|
||||
title = raw_title.partition(' : ')[2]
|
||||
|
||||
config_url = compat_urllib_parse.unquote(self._html_search_regex(
|
||||
r'<param\s+name="flashvars"\s+value="config=([^"&]+)', webpage, 'config URL'))
|
||||
r'''(?x)
|
||||
(?:
|
||||
<param\s+name="flashvars"\s+value="config=|
|
||||
flashvars="config=
|
||||
)
|
||||
([^"&]+)
|
||||
''',
|
||||
webpage, 'config URL'))
|
||||
|
||||
formats = []
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user