1
0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2024-11-02 09:12:40 +01:00

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

This commit is contained in:
Sergey M․ 2016-03-02 21:11:18 +06:00
parent 85ca019d96
commit e38cafe986

View File

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