From: Sergey M․ Date: Mon, 18 May 2015 15:34:20 +0000 (+0600) Subject: [vulture] Fix extraction X-Git-Url: http://git.oshgnacknak.de/?a=commitdiff_plain;h=2328f2fe684f9a9025217c6f149e92a403a4c437;p=youtube-dl [vulture] Fix extraction --- diff --git a/youtube_dl/extractor/vulture.py b/youtube_dl/extractor/vulture.py index 1eb24a3d6..faa167e65 100644 --- a/youtube_dl/extractor/vulture.py +++ b/youtube_dl/extractor/vulture.py @@ -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)