From: Remita Amine Date: Tue, 13 Dec 2016 16:59:22 +0000 (+0100) Subject: [canvas] extract dash formats X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=commitdiff_plain;h=67dcbc0add399d5dc0f8ffe82723b03451782c97;p=youtube-dl [canvas] extract dash formats --- 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,