mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-21 20:46:36 -05:00
[YoutubeDL] Allow multiple input URLs to be used with stdout as output template
This commit is contained in:
parent
45e6ad21b4
commit
9487ce03e9
1 changed files with 1 additions and 0 deletions
|
@ -1872,6 +1872,7 @@ def download(self, url_list):
|
|||
"""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)
|
||||
|
|
Loading…
Reference in a new issue