From: Sergey M․ Date: Mon, 20 Apr 2015 15:58:29 +0000 (+0600) Subject: [YoutubeDL] Allow bestvideo+bestaudio/best strategy for ted extractor X-Git-Url: http://git.oshgnacknak.de/?a=commitdiff_plain;h=17c8675853f679d3671c1558f6b2f060f2c8e23a;p=youtube-dl [YoutubeDL] Allow bestvideo+bestaudio/best strategy for ted extractor --- 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)