aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/extractor/canvas.py
diff options
context:
space:
mode:
authorRemita Amine <remitamine@gmail.com>2016-12-13 17:59:22 +0100
committerRemita Amine <remitamine@gmail.com>2016-12-13 17:59:22 +0100
commit67dcbc0add399d5dc0f8ffe82723b03451782c97 (patch)
tree10cf59832c0de60d70937d7d19b230b17d5a0b2c /youtube_dl/extractor/canvas.py
parent3a40f859b5e76b4fa27b9e72688400349972e82f (diff)
[canvas] extract dash formats
Diffstat (limited to 'youtube_dl/extractor/canvas.py')
-rw-r--r--youtube_dl/extractor/canvas.py3
1 files changed, 3 insertions, 0 deletions
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,