]> git.bitcoin.ninja Git - youtube-dl/commitdiff
[canalplus] Fix m3u8 videos extension
authorSergey M․ <dstftw@gmail.com>
Thu, 23 Jul 2015 18:17:36 +0000 (00:17 +0600)
committerSergey M․ <dstftw@gmail.com>
Thu, 23 Jul 2015 18:17:36 +0000 (00:17 +0600)
youtube_dl/extractor/canalplus.py

index 699b4f7d08b1928ffa1799adc755774977a84237..8671236ddeaeffa486098c90cdfaf33f838507fa 100644 (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)