From: Sergey M․ Date: Thu, 23 Jul 2015 18:17:36 +0000 (+0600) Subject: [canalplus] Fix m3u8 videos extension X-Git-Url: http://git.bitcoin.ninja/?a=commitdiff_plain;h=660f9459dabfc01c7235b4cc57f9c561de522e07;p=youtube-dl [canalplus] Fix m3u8 videos extension --- 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)