mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-14 05:03:09 +00:00
[telegraaf] Enable dash formats
This commit is contained in:
parent
94c04a3c79
commit
d9cb92c840
@ -49,9 +49,8 @@ class TelegraafIE(InfoExtractor):
|
|||||||
formats.extend(self._extract_m3u8_formats(
|
formats.extend(self._extract_m3u8_formats(
|
||||||
manifest_url, video_id, ext='mp4', m3u8_id='hls'))
|
manifest_url, video_id, ext='mp4', m3u8_id='hls'))
|
||||||
elif ext == 'mpd':
|
elif ext == 'mpd':
|
||||||
# TODO: Current DASH formats are broken - $Time$ pattern in
|
formats.extend(self._extract_mpd_formats(
|
||||||
# <SegmentTemplate> not implemented yet
|
manifest_url, video_id, mpd_id='dash', fatal=False))
|
||||||
continue
|
|
||||||
else:
|
else:
|
||||||
self.report_warning('Unknown adaptive format %s' % ext)
|
self.report_warning('Unknown adaptive format %s' % ext)
|
||||||
for location in locations.get('progressive', []):
|
for location in locations.get('progressive', []):
|
||||||
|
Loading…
Reference in New Issue
Block a user