ソースを参照

[YoutubeDL] Allow multiple input URLs to be used with stdout as output template

Sergey M․ 8 年 前
コミット
9487ce03e9
1 ファイル変更1 行追加0 行削除
  1. 1 0
      youtube_dl/YoutubeDL.py

+ 1 - 0
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)