commit: ae6fff4e64b34bdcbd5b4f90c89cfd9e55ddeffa
parent 5a65668e25ba424693a69cbaa81059e8c38a52ae
Author: Sergey M․ <dstftw@gmail.com>
Date: Sun, 24 Jul 2016 10:43:05 +0700
[onet] Enable dash formats
Diffstat:
1 file changed, 2 insertions(+), 5 deletions(-)
diff --git a/youtube_dl/extractor/onet.py b/youtube_dl/extractor/onet.py
@@ -59,11 +59,8 @@ class OnetBaseIE(InfoExtractor):
# 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,