summary refs log tree commit diff
diff options
context:
space:
mode:
authorSergey M․ <dstftw@gmail.com>2016-07-24 10:43:05 +0700
committerSergey M․ <dstftw@gmail.com>2016-07-24 10:43:05 +0700
commitae6fff4e64b34bdcbd5b4f90c89cfd9e55ddeffa (patch)
tree0a21baf278732a03f9624b5b58a0d650fa114402
parent5a65668e25ba424693a69cbaa81059e8c38a52ae (diff)
downloadyoutube-dl-ae6fff4e64b34bdcbd5b4f90c89cfd9e55ddeffa.tar.gz
youtube-dl-ae6fff4e64b34bdcbd5b4f90c89cfd9e55ddeffa.tar.xz
youtube-dl-ae6fff4e64b34bdcbd5b4f90c89cfd9e55ddeffa.zip
[onet] Enable dash formats
-rw-r--r--youtube_dl/extractor/onet.py7
1 files changed, 2 insertions, 5 deletions
diff --git a/youtube_dl/extractor/onet.py b/youtube_dl/extractor/onet.py
index 402d3a9f7..fc22ad5eb 100644
--- 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,