]> gitweb @ CieloNegro.org - youtube-dl.git/blobdiff - youtube_dl/YoutubeDL.py
[YoutubeDL] Allow multiple input URLs to be used with stdout as output template
[youtube-dl.git] / youtube_dl / YoutubeDL.py
index 13a3a909e3964c904290e7d443fcf94dc3187ddf..cb502c26f6bf20788279f5bbfb0ed8e7e0e909f2 100755 (executable)
@@ -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)