diff options
author | Sergey M․ <dstftw@gmail.com> | 2015-04-20 21:58:29 +0600 |
---|---|---|
committer | Sergey M․ <dstftw@gmail.com> | 2015-04-20 21:58:29 +0600 |
commit | 17c8675853f679d3671c1558f6b2f060f2c8e23a (patch) | |
tree | a5494eb59d9768b2166659a6e6897a5a37f8ac7a /youtube_dl/YoutubeDL.py | |
parent | cfbee8a431fdc22ff98dc115a59e0a48cace2c0e (diff) |
[YoutubeDL] Allow bestvideo+bestaudio/best strategy for ted extractor
Diffstat (limited to 'youtube_dl/YoutubeDL.py')
-rwxr-xr-x | youtube_dl/YoutubeDL.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/YoutubeDL.py b/youtube_dl/YoutubeDL.py index 3bb350e2a..b5fddb8e7 100755 --- a/youtube_dl/YoutubeDL.py +++ b/youtube_dl/YoutubeDL.py @@ -1092,7 +1092,7 @@ class YoutubeDL(object): req_format = self.params.get('format') if req_format is None: req_format_list = [] - if info_dict['extractor'] == 'youtube' and FFmpegMergerPP(self).available: + if info_dict['extractor'] in ['youtube', 'ted'] and FFmpegMergerPP(self).available: req_format_list.append('bestvideo+bestaudio') req_format_list.append('best') req_format = '/'.join(req_format_list) |