]> gitweb @ CieloNegro.org - youtube-dl.git/commitdiff
[canvas] extract dash formats
authorRemita Amine <remitamine@gmail.com>
Tue, 13 Dec 2016 16:59:22 +0000 (17:59 +0100)
committerRemita Amine <remitamine@gmail.com>
Tue, 13 Dec 2016 16:59:22 +0000 (17:59 +0100)
youtube_dl/extractor/canvas.py

index d183d5d527fb8ab4163b16fcaffd0aeedbf0dd0c..2cc539a6c2289f27e6214e4f01b11202ceb63f79 100644 (file)
@@ -89,6 +89,9 @@ class CanvasIE(InfoExtractor):
             elif format_type == 'HDS':
                 formats.extend(self._extract_f4m_formats(
                     format_url, display_id, f4m_id=format_type, fatal=False))
+            elif format_type == 'MPEG_DASH':
+                formats.extend(self._extract_mpd_formats(
+                    format_url, display_id, mpd_id=format_type, fatal=False))
             else:
                 formats.append({
                     'format_id': format_type,