mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-21 20:46:36 -05:00
[telegraaf] Enable dash formats
This commit is contained in:
parent
94c04a3c79
commit
d9cb92c840
1 changed files with 2 additions and 3 deletions
|
@ -49,9 +49,8 @@ def _real_extract(self, url):
|
||||||
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 a new issue