aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl
diff options
context:
space:
mode:
authorSergey M․ <dstftw@gmail.com>2017-03-19 23:59:40 +0700
committerSergey M․ <dstftw@gmail.com>2017-03-19 23:59:40 +0700
commit9487ce03e998337cbc69db250009e11b52c3b255 (patch)
tree08cc8aa1b5c2e475b2c492bd9db669cb02a10aeb /youtube_dl
parent45e6ad21b4f024c1721dc3dd2b53f15d7efa8aa6 (diff)
[YoutubeDL] Allow multiple input URLs to be used with stdout as output template
Diffstat (limited to 'youtube_dl')
-rwxr-xr-xyoutube_dl/YoutubeDL.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/youtube_dl/YoutubeDL.py b/youtube_dl/YoutubeDL.py
index 13a3a909e..cb502c26f 100755
--- 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)