1
0
mirror of https://github.com/l1ving/youtube-dl synced 2025-02-03 11:22:54 +08:00

Required fixes

This commit is contained in:
gfabiano 2017-09-29 19:14:01 +02:00
parent cfcd9c3fbf
commit a4fe6dffc2

View File

@ -134,9 +134,10 @@ class RTVEALaCartaIE(InfoExtractor):
video_url = video_url.replace('.net.rtve', '.multimedia.cdn.rtve')
if ext == 'm3u8':
formats.extend(self._extract_m3u8_formats(video_url, video_id, ext='mp4'))
formats.extend(self._extract_m3u8_formats(
video_url, video_id, ext='mp4', m3u8_id='hls', fatal=False))
elif ext == 'f4m':
formats.extend(self._extract_f4m_formats(video_url, video_id))
formats.extend(self._extract_f4m_formats(video_url, video_id, f4m_id='hds', fatal=False))
else:
formats.append({
'url': video_url,