diff options
author | remitamine <remitamine@gmail.com> | 2016-02-02 18:13:01 +0100 |
---|---|---|
committer | remitamine <remitamine@gmail.com> | 2016-02-02 18:13:01 +0100 |
commit | 5976e7ab579c4d1e2fae26acbaa628009b2d83a8 (patch) | |
tree | c0ce3f01d36f54c8485cf34718a3734db56ed570 /youtube_dl | |
parent | a1a22572fb968aa90e110798b34c444d894ad24a (diff) |
[vevo] add support for dash formats
Diffstat (limited to 'youtube_dl')
-rw-r--r-- | youtube_dl/extractor/vevo.py | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/youtube_dl/extractor/vevo.py b/youtube_dl/extractor/vevo.py index 35fcff1b2..152fef42e 100644 --- a/youtube_dl/extractor/vevo.py +++ b/youtube_dl/extractor/vevo.py @@ -197,8 +197,14 @@ class VevoIE(InfoExtractor): if not version_url: continue - if '.mpd' in version_url or '.ism' in version_url: + if '.ism' in version_url: continue + elif '.mpd' in version_url: + formats.extend(self._extract_mpd_formats( + version_url, video_id, mpd_id='dash-%s' % version, + note='Downloading %s MPD information' % version, + errnote='Failed to download %s MPD information' % version, + fatal=False)) elif '.m3u8' in version_url: formats.extend(self._extract_m3u8_formats( version_url, video_id, 'mp4', 'm3u8_native', |