From 67dcbc0add399d5dc0f8ffe82723b03451782c97 Mon Sep 17 00:00:00 2001 From: Remita Amine Date: Tue, 13 Dec 2016 17:59:22 +0100 Subject: [PATCH] [canvas] extract dash formats --- youtube_dl/extractor/canvas.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/youtube_dl/extractor/canvas.py b/youtube_dl/extractor/canvas.py index d183d5d52..2cc539a6c 100644 --- a/youtube_dl/extractor/canvas.py +++ b/youtube_dl/extractor/canvas.py @@ -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,