0
0
Fork 0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2024-11-03 23:25:06 +00:00

[prosiebensat1] extract dash formats

This commit is contained in:
Remita Amine 2016-12-10 13:29:51 +01:00
parent 68601ef3ac
commit f41db40596

View file

@ -85,6 +85,9 @@ def fix_bitrate(bitrate):
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'):