mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-04 23:35:04 +00:00
[ted] correct acodec for http formats(#18923)
This commit is contained in:
parent
2bfc1d9d68
commit
f28363ad1f
1 changed files with 2 additions and 0 deletions
|
@ -265,6 +265,8 @@ def _talk_info(self, url, video_name):
|
||||||
'format_id': m3u8_format['format_id'].replace('hls', 'http'),
|
'format_id': m3u8_format['format_id'].replace('hls', 'http'),
|
||||||
'protocol': 'http',
|
'protocol': 'http',
|
||||||
})
|
})
|
||||||
|
if f.get('acodec') == 'none':
|
||||||
|
del f['acodec']
|
||||||
formats.append(f)
|
formats.append(f)
|
||||||
|
|
||||||
audio_download = talk_info.get('audioDownload')
|
audio_download = talk_info.get('audioDownload')
|
||||||
|
|
Loading…
Reference in a new issue