From 660f9459dabfc01c7235b4cc57f9c561de522e07 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Sergey=20M=E2=80=A4?= Date: Fri, 24 Jul 2015 00:17:36 +0600 Subject: [PATCH] [canalplus] Fix m3u8 videos extension --- youtube_dl/extractor/canalplus.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/youtube_dl/extractor/canalplus.py b/youtube_dl/extractor/canalplus.py index 699b4f7d0..8671236dd 100644 --- a/youtube_dl/extractor/canalplus.py +++ b/youtube_dl/extractor/canalplus.py @@ -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) -- 2.40.0