youtube-dl

Another place where youtube-dl lives on
git clone git://git.oshgnacknak.de/youtube-dl.git
Log | Files | Refs | README | LICENSE

commit 17c8675853f679d3671c1558f6b2f060f2c8e23a
parent cfbee8a431fdc22ff98dc115a59e0a48cace2c0e
Author: Sergey M․ <dstftw@gmail.com>
Date:   Mon, 20 Apr 2015 21:58:29 +0600

[YoutubeDL] Allow bestvideo+bestaudio/best strategy for ted extractor

Diffstat:
Myoutube_dl/YoutubeDL.py | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 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)