From d9cb92c84058bce2c222b7a634608d7a16addcb2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sergey=20M=E2=80=A4?= Date: Sun, 24 Jul 2016 10:29:09 +0700 Subject: [PATCH] [telegraaf] Enable dash formats --- youtube_dl/extractor/telegraaf.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/youtube_dl/extractor/telegraaf.py b/youtube_dl/extractor/telegraaf.py index 9092e9b85..926d36e5a 100644 --- a/youtube_dl/extractor/telegraaf.py +++ b/youtube_dl/extractor/telegraaf.py @@ -49,9 +49,8 @@ def _real_extract(self, url): formats.extend(self._extract_m3u8_formats( manifest_url, video_id, ext='mp4', m3u8_id='hls')) elif ext == 'mpd': - # TODO: Current DASH formats are broken - $Time$ pattern in - # not implemented yet - continue + formats.extend(self._extract_mpd_formats( + manifest_url, video_id, mpd_id='dash', fatal=False)) else: self.report_warning('Unknown adaptive format %s' % ext) for location in locations.get('progressive', []):