From ae6fff4e64b34bdcbd5b4f90c89cfd9e55ddeffa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sergey=20M=E2=80=A4?= Date: Sun, 24 Jul 2016 10:43:05 +0700 Subject: [PATCH] [onet] Enable dash formats --- youtube_dl/extractor/onet.py | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/youtube_dl/extractor/onet.py b/youtube_dl/extractor/onet.py index 402d3a9f73..fc22ad5eb6 100644 --- a/youtube_dl/extractor/onet.py +++ b/youtube_dl/extractor/onet.py @@ -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 - # 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,