[onet] Enable dash formats

This commit is contained in:
Sergey M․ 2016-07-24 10:43:05 +07:00
parent 5a65668e25
commit ae6fff4e64
No known key found for this signature in database
GPG key ID: 2C393E0F18A9236D

View file

@ -59,11 +59,8 @@ def _extract_from_id(self, video_id, webpage):
# TODO: Support Microsoft Smooth Streaming
continue
elif ext == 'mpd':
# TODO: Current DASH formats are broken - $Time$ pattern in
# <SegmentTemplate> not implemented yet
# formats.extend(self._extract_mpd_formats(
# video_url, video_id, mpd_id='dash', fatal=False))
continue
formats.extend(self._extract_mpd_formats(
video_url, video_id, mpd_id='dash', fatal=False))
else:
formats.append({
'url': video_url,