about summary refs log tree commit diff
path: root/youtube_dl/extractor/ted.py
diff options
context:
space:
mode:
authorSergey M․ <dstftw@gmail.com>2015-04-20 22:04:42 +0600
committerSergey M․ <dstftw@gmail.com>2015-04-20 22:04:42 +0600
commit6621ca39a3f03e44648b54bd8ff57814362f5dbc (patch)
tree894d47a157c1c64201536a38901144b0974757d0 /youtube_dl/extractor/ted.py
parent14f7abfa71bc71f46a5e3306062b1feccc4ccd26 (diff)
downloadyoutube-dl-6621ca39a3f03e44648b54bd8ff57814362f5dbc.tar.gz
youtube-dl-6621ca39a3f03e44648b54bd8ff57814362f5dbc.tar.xz
youtube-dl-6621ca39a3f03e44648b54bd8ff57814362f5dbc.zip
[ted] Skip hls quality selection format
Diffstat (limited to 'youtube_dl/extractor/ted.py')
-rw-r--r--youtube_dl/extractor/ted.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/youtube_dl/extractor/ted.py b/youtube_dl/extractor/ted.py
index 8aa27d282..a48d77c30 100644
--- a/youtube_dl/extractor/ted.py
+++ b/youtube_dl/extractor/ted.py
@@ -198,6 +198,8 @@ class TEDIE(InfoExtractor):
                 hls_formats = self._extract_m3u8_formats(
                     resources.get('stream'), video_name, 'mp4', m3u8_id=format_id)
                 for f in hls_formats:
+                    if f.get('format_id') == 'hls-meta':
+                        continue
                     if not f.get('height'):
                         f['vcodec'] = 'none'
                     else: