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

[telegraaf] Enable dash formats

This commit is contained in:
Sergey M․ 2016-07-24 10:29:09 +07:00
parent 94c04a3c79
commit d9cb92c840
No known key found for this signature in database
GPG key ID: 2C393E0F18A9236D

View file

@ -49,9 +49,8 @@ def _real_extract(self, url):
formats.extend(self._extract_m3u8_formats(
manifest_url, video_id, ext='mp4', m3u8_id='hls'))
elif ext == 'mpd':
# TODO: Current DASH formats are broken - $Time$ pattern in
# <SegmentTemplate> not implemented yet
continue
formats.extend(self._extract_mpd_formats(
manifest_url, video_id, mpd_id='dash', fatal=False))
else:
self.report_warning('Unknown adaptive format %s' % ext)
for location in locations.get('progressive', []):