Browse Source

[canalplus] Fix m3u8 videos extension

totalwebcasting
Sergey M․ 10 years ago
parent
commit
660f9459da
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      youtube_dl/extractor/canalplus.py

+ 1
- 1
youtube_dl/extractor/canalplus.py View File

@ -106,7 +106,7 @@ class CanalplusIE(InfoExtractor):
continue continue
format_id = fmt.tag format_id = fmt.tag
if format_id == 'HLS': 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: for fmt in hls_formats:
fmt['preference'] = preference(format_id) fmt['preference'] = preference(format_id)
formats.extend(hls_formats) formats.extend(hls_formats)


Loading…
Cancel
Save