summary refs log tree commit diff
diff options
context:
space:
mode:
authorSergey M․ <dstftw@gmail.com>2016-07-24 10:29:09 +0700
committerSergey M․ <dstftw@gmail.com>2016-07-24 10:29:09 +0700
commitd9cb92c84058bce2c222b7a634608d7a16addcb2 (patch)
tree2eb874f49f3b93c69f5f5adb98fb65039dfda0a3
parent94c04a3c793a8332ea68bb2eff2979da4ef66af6 (diff)
downloadyoutube-dl-d9cb92c84058bce2c222b7a634608d7a16addcb2.tar.gz
youtube-dl-d9cb92c84058bce2c222b7a634608d7a16addcb2.tar.xz
youtube-dl-d9cb92c84058bce2c222b7a634608d7a16addcb2.zip
[telegraaf] Enable dash formats
-rw-r--r--youtube_dl/extractor/telegraaf.py5
1 files 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 @@ class TelegraafIE(InfoExtractor):
                 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
-                # <SegmentTemplate> 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', []):