mirror of
https://codeberg.org/polarisfm/youtube-dl.git
synced 2024-12-29 02:54:59 +00:00
[prosiebensat1] extract dash formats
This commit is contained in:
parent
68601ef3ac
commit
f41db40596
1 changed files with 3 additions and 0 deletions
|
@ -85,6 +85,9 @@ class ProSiebenSat1BaseIE(InfoExtractor):
|
||||||
formats.extend(self._extract_m3u8_formats(
|
formats.extend(self._extract_m3u8_formats(
|
||||||
source_url, clip_id, 'mp4', 'm3u8_native',
|
source_url, clip_id, 'mp4', 'm3u8_native',
|
||||||
m3u8_id='hls', fatal=False))
|
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:
|
else:
|
||||||
tbr = fix_bitrate(source['bitrate'])
|
tbr = fix_bitrate(source['bitrate'])
|
||||||
if protocol in ('rtmp', 'rtmpe'):
|
if protocol in ('rtmp', 'rtmpe'):
|
||||||
|
|
Loading…
Reference in a new issue