A feature-rich command-line audio/video downloader
[YoutubeDL] Allow multiple input URLs to be used with stdout as output template
Sergey M․9487ce03e998
diff --git a/youtube_dl/YoutubeDL.py b/youtube_dl/YoutubeDL.pyindex 13a3a909e3..cb502c26f6 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 andself.params.get('max_downloads') != 1):raise SameFileError(outtmpl)