From: Remita Amine Date: Sat, 19 Jan 2019 20:25:53 +0000 (+0100) Subject: [ted] correct acodec for http formats(#18923) X-Git-Url: http://git.bitcoin.ninja/?a=commitdiff_plain;h=f28363ad1fb45b4450ae6f09ff9aff8f93227e40;p=youtube-dl [ted] correct acodec for http formats(#18923) --- diff --git a/youtube_dl/extractor/ted.py b/youtube_dl/extractor/ted.py index d3e4205f5..645942dfd 100644 --- a/youtube_dl/extractor/ted.py +++ b/youtube_dl/extractor/ted.py @@ -265,6 +265,8 @@ class TEDIE(InfoExtractor): 'format_id': m3u8_format['format_id'].replace('hls', 'http'), 'protocol': 'http', }) + if f.get('acodec') == 'none': + del f['acodec'] formats.append(f) audio_download = talk_info.get('audioDownload')