[ruutu] extract dash formats
authorRemita Amine <remitamine@gmail.com>
Mon, 30 Jan 2017 08:32:31 +0000 (09:32 +0100)
committerRemita Amine <remitamine@gmail.com>
Mon, 30 Jan 2017 08:32:31 +0000 (09:32 +0100)
youtube_dl/extractor/ruutu.py

index f12bc56141c7512f0f5af750b43ff383e729b637..20d01754a17998f90c64f33cf76693028dd57103 100644 (file)
@@ -81,6 +81,9 @@ class RuutuIE(InfoExtractor):
                     elif ext == 'f4m':
                         formats.extend(self._extract_f4m_formats(
                             video_url, video_id, f4m_id='hds', fatal=False))
+                    elif ext == 'mpd':
+                        formats.extend(self._extract_mpd_formats(
+                            video_url, video_id, mpd_id='dash', fatal=False))
                     else:
                         proto = compat_urllib_parse_urlparse(video_url).scheme
                         if not child.tag.startswith('HTTP') and proto != 'rtmp':