mirror of
https://github.com/l1ving/youtube-dl
synced 2024-11-20 21:42:58 +08:00
[vulture] Fix extraction
This commit is contained in:
parent
4f514c7e88
commit
2328f2fe68
@ -44,7 +44,7 @@ class VultureIE(InfoExtractor):
|
||||
query_webpage = self._download_webpage(
|
||||
query_url, display_id, note='Downloading query page')
|
||||
params_json = self._search_regex(
|
||||
r'(?sm)new MagnifyEmbeddablePlayer\({.*?contentItem:\s*(\{.*?\})\n,\n',
|
||||
r'(?sm)new MagnifyEmbeddablePlayer\({.*?contentItem:\s*(\{.*?\})\n?,\n',
|
||||
query_webpage,
|
||||
'player params')
|
||||
params = json.loads(params_json)
|
||||
|
Loading…
Reference in New Issue
Block a user