2
0
Эх сурвалжийг харах

[YoutubeDL] Skip postprocessing and archive report when outputting to stdout (Closes #8729)

Sergey M․ 9 жил өмнө
parent
commit
e38cafe986

+ 1 - 1
youtube_dl/YoutubeDL.py

@@ -1631,7 +1631,7 @@ class YoutubeDL(object):
                 self.report_error('content too short (expected %s bytes and served %s)' % (err.expected, err.downloaded))
                 return
 
-            if success:
+            if success and filename != '-':
                 # Fixup content
                 fixup_policy = self.params.get('fixup')
                 if fixup_policy is None: