mirror of
https://github.com/l1ving/youtube-dl
synced 2025-02-03 13:42:57 +08:00
Required fixes
This commit is contained in:
parent
cfcd9c3fbf
commit
a4fe6dffc2
@ -134,9 +134,10 @@ class RTVEALaCartaIE(InfoExtractor):
|
|||||||
video_url = video_url.replace('.net.rtve', '.multimedia.cdn.rtve')
|
video_url = video_url.replace('.net.rtve', '.multimedia.cdn.rtve')
|
||||||
|
|
||||||
if ext == 'm3u8':
|
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':
|
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:
|
else:
|
||||||
formats.append({
|
formats.append({
|
||||||
'url': video_url,
|
'url': video_url,
|
||||||
|
Loading…
Reference in New Issue
Block a user