aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey M․ <dstftw@gmail.com>2015-05-18 21:34:20 +0600
committerSergey M․ <dstftw@gmail.com>2015-05-18 21:34:20 +0600
commit2328f2fe684f9a9025217c6f149e92a403a4c437 (patch)
treefd4b86d743ba1a183b8caf8bd1a26d7beeb3b0e8
parent4f514c7e88d2ce8ebe9c2478183e8797cfb2a4c4 (diff)
[vulture] Fix extraction
-rw-r--r--youtube_dl/extractor/vulture.py2
1 files changed, 1 insertions, 1 deletions
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)