From: Remita Amine Date: Sat, 10 Dec 2016 12:29:51 +0000 (+0100) Subject: [prosiebensat1] extract dash formats X-Git-Url: http://git.bitcoin.ninja/?a=commitdiff_plain;h=f41db4059682ec4a1c2fdcffab494adad71ccf9b;p=youtube-dl [prosiebensat1] extract dash formats --- diff --git a/youtube_dl/extractor/prosiebensat1.py b/youtube_dl/extractor/prosiebensat1.py index 7cc07a2ad..30478f979 100644 --- a/youtube_dl/extractor/prosiebensat1.py +++ b/youtube_dl/extractor/prosiebensat1.py @@ -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'):