projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cfbee8a
)
[YoutubeDL] Allow bestvideo+bestaudio/best strategy for ted extractor
author
Sergey M․
<dstftw@gmail.com>
Mon, 20 Apr 2015 15:58:29 +0000
(21:58 +0600)
committer
Sergey M․
<dstftw@gmail.com>
Mon, 20 Apr 2015 15:58:29 +0000
(21:58 +0600)
youtube_dl/YoutubeDL.py
patch
|
blob
|
history
diff --git
a/youtube_dl/YoutubeDL.py
b/youtube_dl/YoutubeDL.py
index 3bb350e2a9f2442e4018dc75353b40020acbede5..b5fddb8e7ce357ef58d50dba761a233ec17cbcfc 100755
(executable)
--- 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)