]> gitweb @ CieloNegro.org - youtube-dl.git/commitdiff
[prosiebensat1] extract dash formats
authorRemita Amine <remitamine@gmail.com>
Sat, 10 Dec 2016 12:29:51 +0000 (13:29 +0100)
committerRemita Amine <remitamine@gmail.com>
Sat, 10 Dec 2016 12:29:51 +0000 (13:29 +0100)
youtube_dl/extractor/prosiebensat1.py

index 7cc07a2ad5b88c51aa9f5d339839fd743727e17e..30478f979f71be96a5419abb6a40cdda74af472b 100644 (file)
@@ -85,6 +85,9 @@ class ProSiebenSat1BaseIE(InfoExtractor):
                     formats.extend(self._extract_m3u8_formats(
                         source_url, clip_id, 'mp4', 'm3u8_native',
                         m3u8_id='hls', fatal=False))
+                elif mimetype == 'application/dash+xml':
+                    formats.extend(self._extract_mpd_formats(
+                        source_url, clip_id, mpd_id='dash', fatal=False))
                 else:
                     tbr = fix_bitrate(source['bitrate'])
                     if protocol in ('rtmp', 'rtmpe'):