diff options
author | Sergey M․ <dstftw@gmail.com> | 2016-03-02 21:11:18 +0600 |
---|---|---|
committer | Sergey M․ <dstftw@gmail.com> | 2016-03-02 21:11:18 +0600 |
commit | e38cafe986994d65230e6518752def8b53ad7308 (patch) | |
tree | 43b1a53311158e00c795114c66c39f6ef3f4ee22 | |
parent | 85ca019d9679d75c26b7ee4106dd7d98136f3c88 (diff) |
[YoutubeDL] Skip postprocessing and archive report when outputting to stdout (Closes #8729)
-rwxr-xr-x | youtube_dl/YoutubeDL.py | 2 |
1 files changed, 1 insertions, 1 deletions
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: |