Browse Source

[onet] Enable dash formats

Sergey M․ 9 years ago
parent
commit
ae6fff4e64
1 changed files with 2 additions and 5 deletions
  1. 2 5
      youtube_dl/extractor/onet.py

+ 2 - 5
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,