aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/extractor/prosiebensat1.py
diff options
context:
space:
mode:
authorRemita Amine <remitamine@gmail.com>2016-12-10 13:29:51 +0100
committerRemita Amine <remitamine@gmail.com>2016-12-10 13:29:51 +0100
commitf41db4059682ec4a1c2fdcffab494adad71ccf9b (patch)
tree1d95c234e0b7ffeece9637211fbc11afe05f7790 /youtube_dl/extractor/prosiebensat1.py
parent68601ef3acde6e0f78c3b4014a11f36383db8770 (diff)
[prosiebensat1] extract dash formats
Diffstat (limited to 'youtube_dl/extractor/prosiebensat1.py')
-rw-r--r--youtube_dl/extractor/prosiebensat1.py3
1 files changed, 3 insertions, 0 deletions
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'):