mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-10 09:07:58 +01:00
[vulture] Fix extraction
This commit is contained in:
parent
4f514c7e88
commit
2328f2fe68
1 changed files with 1 additions and 1 deletions
|
@ -44,7 +44,7 @@ def _real_extract(self, url):
|
||||||
query_webpage = self._download_webpage(
|
query_webpage = self._download_webpage(
|
||||||
query_url, display_id, note='Downloading query page')
|
query_url, display_id, note='Downloading query page')
|
||||||
params_json = self._search_regex(
|
params_json = self._search_regex(
|
||||||
r'(?sm)new MagnifyEmbeddablePlayer\({.*?contentItem:\s*(\{.*?\})\n,\n',
|
r'(?sm)new MagnifyEmbeddablePlayer\({.*?contentItem:\s*(\{.*?\})\n?,\n',
|
||||||
query_webpage,
|
query_webpage,
|
||||||
'player params')
|
'player params')
|
||||||
params = json.loads(params_json)
|
params = json.loads(params_json)
|
||||||
|
|
Loading…
Reference in a new issue