1
0
mirror of https://github.com/l1ving/youtube-dl synced 2025-03-10 17:17:15 +08:00

Format type case changed, fix

This commit is contained in:
Twilkie 2018-12-25 11:25:00 +01:00
parent 8d8015f684
commit 5eac3800d8

View File

@ -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))