Browse Source

[vulture] Fix extraction

totalwebcasting
Sergey M․ 10 years ago
parent
commit
2328f2fe68
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      youtube_dl/extractor/vulture.py

+ 1
- 1
youtube_dl/extractor/vulture.py View File

@ -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…
Cancel
Save