From 5eac3800d8685ce3ed371e6322071018b1de1566 Mon Sep 17 00:00:00 2001 From: Twilkie Date: Tue, 25 Dec 2018 11:25:00 +0100 Subject: [PATCH] Format type case changed, fix --- youtube_dl/extractor/canvas.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/youtube_dl/extractor/canvas.py b/youtube_dl/extractor/canvas.py index b088df880..e57b72fa8 100644 --- a/youtube_dl/extractor/canvas.py +++ b/youtube_dl/extractor/canvas.py @@ -57,7 +57,7 @@ class CanvasIE(InfoExtractor): format_url, format_type = target.get('url'), target.get('type') if not format_url or not format_type: continue - if format_type == 'HLS': + if format_type == 'HLS' or format_type == 'hls': formats.extend(self._extract_m3u8_formats( format_url, video_id, 'mp4', entry_protocol='m3u8_native', m3u8_id=format_type, fatal=False))