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

index 9092e9b853637d14d54a2c15c524b12e35e91a30..926d36e5ad3ad6e919f4efd02e0e319f712209af 100644 (file)
@@ -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', []):