[vevo] add support for dash formats
authorremitamine <remitamine@gmail.com>
Tue, 2 Feb 2016 17:13:01 +0000 (18:13 +0100)
committerremitamine <remitamine@gmail.com>
Tue, 2 Feb 2016 17:13:01 +0000 (18:13 +0100)
youtube_dl/extractor/vevo.py

index 35fcff1b2c1281b609f7350602be2215cdd4db13..152fef42e2aa052acea07f909eee66cf842e87c5 100644 (file)
@@ -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',