]> git.bitcoin.ninja Git - youtube-dl/commitdiff
[arkena] Enable dash formats
authorSergey M․ <dstftw@gmail.com>
Sun, 24 Jul 2016 03:28:11 +0000 (10:28 +0700)
committerSergey M․ <dstftw@gmail.com>
Sun, 24 Jul 2016 03:28:11 +0000 (10:28 +0700)
youtube_dl/extractor/arkena.py

index d7c5eeb8a4aa300c9f92abfe601f2adb4e83020b..d45cae301df005f455aad3ec6aeda5ed87d5b50e 100644 (file)
@@ -81,11 +81,8 @@ class ArkenaIE(InfoExtractor):
                     formats.extend(self._extract_f4m_formats(
                         f_url, video_id, f4m_id=kind, fatal=False))
                 elif kind == 'dash' or 'mpd' in exts:
-                    # TODO: Current DASH formats are broken - $Time$ pattern in
-                    # <SegmentTemplate> not implemented yet
-                    # formats.extend(self._extract_mpd_formats(
-                    #    f_url, video_id, mpd_id=kind, fatal=False))
-                    continue
+                    formats.extend(self._extract_mpd_formats(
+                        f_url, video_id, mpd_id=kind, fatal=False))
                 elif kind == 'silverlight':
                     # TODO: process when ism is supported (see
                     # https://github.com/rg3/youtube-dl/issues/8118)