1
0
Fork 0
mirror of https://codeberg.org/polarisfm/youtube-dl.git synced 2024-12-24 08:42:30 +00:00

[vulture] Fix extraction

This commit is contained in:
Sergey M․ 2015-05-18 21:34:20 +06:00
parent 4f514c7e88
commit 2328f2fe68

View file

@ -44,7 +44,7 @@ class VultureIE(InfoExtractor):
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)