1
0
mirror of https://github.com/l1ving/youtube-dl synced 2024-12-21 21:12:53 +08:00

[canalplus] Fix m3u8 videos extension

This commit is contained in:
Sergey M․ 2015-07-24 00:17:36 +06:00
parent 10952eb2cf
commit 660f9459da

View File

@ -106,7 +106,7 @@ class CanalplusIE(InfoExtractor):
continue
format_id = fmt.tag
if format_id == 'HLS':
hls_formats = self._extract_m3u8_formats(format_url, video_id, 'flv')
hls_formats = self._extract_m3u8_formats(format_url, video_id, 'mp4')
for fmt in hls_formats:
fmt['preference'] = preference(format_id)
formats.extend(hls_formats)