mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-21 20:46:36 -05:00
[francetv] Force m3u8 formats extension to mp4 (Closes #3997)
This commit is contained in:
parent
40bca5f927
commit
6bf6962062
1 changed files with 1 additions and 1 deletions
|
@ -46,7 +46,7 @@ def _extract_video(self, video_id, catalogue):
|
||||||
f4m_format['preference'] = 1
|
f4m_format['preference'] = 1
|
||||||
formats.extend(f4m_formats)
|
formats.extend(f4m_formats)
|
||||||
elif video_url.endswith('.m3u8'):
|
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'):
|
elif video_url.startswith('rtmp'):
|
||||||
formats.append({
|
formats.append({
|
||||||
'url': video_url,
|
'url': video_url,
|
||||||
|
|
Loading…
Reference in a new issue