commit: 9487ce03e998337cbc69db250009e11b52c3b255
parent 45e6ad21b4f024c1721dc3dd2b53f15d7efa8aa6
Author: Sergey M․ <dstftw@gmail.com>
Date: Sun, 19 Mar 2017 23:59:40 +0700
[YoutubeDL] Allow multiple input URLs to be used with stdout as output template
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git 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)