projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2bfc1d9
)
[ted] correct acodec for http formats(#18923)
author
Remita Amine
<remitamine@gmail.com>
Sat, 19 Jan 2019 20:25:53 +0000
(21:25 +0100)
committer
Remita Amine
<remitamine@gmail.com>
Sat, 19 Jan 2019 20:25:53 +0000
(21:25 +0100)
youtube_dl/extractor/ted.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/ted.py
b/youtube_dl/extractor/ted.py
index d3e4205f50472d8ea0a485f25a146e97be558aff..645942dfd369ad7ad6effe0dcfd8ccabde8a9678 100644
(file)
--- 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')