1
1
mirror of https://github.com/ytdl-org/youtube-dl synced 2024-12-18 05:27:47 +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 @@ class YoutubeDL(object):
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: