[francetv] Force m3u8 formats extension to mp4 (Closes #3997)
authorSergey M․ <dstftw@gmail.com>
Tue, 21 Oct 2014 18:24:04 +0000 (01:24 +0700)
committerSergey M․ <dstftw@gmail.com>
Tue, 21 Oct 2014 18:24:04 +0000 (01:24 +0700)
youtube_dl/extractor/francetv.py

index 0b3374d97d7c72a559afc1ed6906549c092491d9..07165e330ca7e1ef14277ad79bf18387cdc49a2f 100644 (file)
@@ -46,7 +46,7 @@ class FranceTVBaseInfoExtractor(InfoExtractor):
                         f4m_format['preference'] = 1
                     formats.extend(f4m_formats)
             elif video_url.endswith('.m3u8'):
-                formats.extend(self._extract_m3u8_formats(video_url, video_id))
+                formats.extend(self._extract_m3u8_formats(video_url, video_id, 'mp4'))
             elif video_url.startswith('rtmp'):
                 formats.append({
                     'url': video_url,