diff options
author | Remita Amine <remitamine@gmail.com> | 2019-01-19 21:25:53 +0100 |
---|---|---|
committer | Remita Amine <remitamine@gmail.com> | 2019-01-19 21:25:53 +0100 |
commit | f28363ad1fb45b4450ae6f09ff9aff8f93227e40 (patch) | |
tree | 025084c5609fe8a42bf3a6321f2467dfe0b32031 | |
parent | 2bfc1d9d68dec097fd8093dc0284dd0cd64beb2e (diff) |
[ted] correct acodec for http formats(#18923)
-rw-r--r-- | youtube_dl/extractor/ted.py | 2 |
1 files changed, 2 insertions, 0 deletions
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') |