projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
45e6ad2
)
[YoutubeDL] Allow multiple input URLs to be used with stdout as output template
author
Sergey M․
<dstftw@gmail.com>
Sun, 19 Mar 2017 16:59:40 +0000
(23:59 +0700)
committer
Sergey M․
<dstftw@gmail.com>
Sun, 19 Mar 2017 16:59:40 +0000
(23:59 +0700)
youtube_dl/YoutubeDL.py
patch
|
blob
|
history
diff --git
a/youtube_dl/YoutubeDL.py
b/youtube_dl/YoutubeDL.py
index 13a3a909e3964c904290e7d443fcf94dc3187ddf..cb502c26f6bf20788279f5bbfb0ed8e7e0e909f2 100755
(executable)
--- a/
youtube_dl/YoutubeDL.py
+++ b/
youtube_dl/YoutubeDL.py
@@
-1872,6
+1872,7
@@
class YoutubeDL(object):
"""Download a given list of URLs."""
outtmpl = self.params.get('outtmpl', DEFAULT_OUTTMPL)
if (len(url_list) > 1 and
+ outtmpl != '-' and
'%' not in outtmpl and
self.params.get('max_downloads') != 1):
raise SameFileError(outtmpl)