From: Sergey M․ Date: Wed, 2 Mar 2016 15:11:18 +0000 (+0600) Subject: [YoutubeDL] Skip postprocessing and archive report when outputting to stdout (Closes... X-Git-Url: http://git.oshgnacknak.de/?a=commitdiff_plain;h=e38cafe986994d65230e6518752def8b53ad7308;p=youtube-dl [YoutubeDL] Skip postprocessing and archive report when outputting to stdout (Closes #8729) --- diff --git a/youtube_dl/YoutubeDL.py b/youtube_dl/YoutubeDL.py index f4324039c..8f3a8b9e3 100755 --- a/youtube_dl/YoutubeDL.py +++ b/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: