diff options
author | remitamine <remitamine@gmail.com> | 2016-05-22 20:36:23 +0100 |
---|---|---|
committer | remitamine <remitamine@gmail.com> | 2016-05-22 20:37:35 +0100 |
commit | 102810ef0402834bd5d43e70a5e397f2a581a5dc (patch) | |
tree | ca2f0d1fd6dc7cb042cd89ee6c01750dd798a70a | |
parent | 78d3b3e2137f6be75b64e9bbfdec88cb420a91d1 (diff) |
[voxmedia] fix volume embed extraction
-rw-r--r-- | youtube_dl/extractor/voxmedia.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/extractor/voxmedia.py b/youtube_dl/extractor/voxmedia.py index 0c6b1f030..9d73600aa 100644 --- a/youtube_dl/extractor/voxmedia.py +++ b/youtube_dl/extractor/voxmedia.py @@ -117,7 +117,7 @@ class VoxMediaIE(InfoExtractor): volume_webpage = self._download_webpage( 'http://volume.vox-cdn.com/embed/%s' % volume_uuid, volume_uuid) video_data = self._parse_json(self._search_regex( - r'Volume\.createVideo\(({.+})\s*,\s*{.*}\);', volume_webpage, 'video data'), volume_uuid) + r'Volume\.createVideo\(({.+})\s*,\s*{.*}\s*,\s*\[.*\]\s*,\s*{.*}\);', volume_webpage, 'video data'), volume_uuid) for provider_video_type in ('ooyala', 'youtube'): provider_video_id = video_data.get('%s_id' % provider_video_type) if provider_video_id: |