From: Sergey M․ Date: Sun, 19 Mar 2017 16:59:40 +0000 (+0700) Subject: [YoutubeDL] Allow multiple input URLs to be used with stdout as output template X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=commitdiff_plain;h=9487ce03e998337cbc69db250009e11b52c3b255;p=youtube-dl [YoutubeDL] Allow multiple input URLs to be used with stdout as output template --- 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)