1
0
mirror of https://codeberg.org/polarisfm/youtube-dl synced 2024-11-22 16:44:32 +01: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 @@ class TelegraafIE(InfoExtractor):
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', []):