aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/YoutubeDL.py
diff options
context:
space:
mode:
authorSergey M․ <dstftw@gmail.com>2016-03-02 21:11:18 +0600
committerSergey M․ <dstftw@gmail.com>2016-03-02 21:11:18 +0600
commite38cafe986994d65230e6518752def8b53ad7308 (patch)
tree43b1a53311158e00c795114c66c39f6ef3f4ee22 /youtube_dl/YoutubeDL.py
parent85ca019d9679d75c26b7ee4106dd7d98136f3c88 (diff)
[YoutubeDL] Skip postprocessing and archive report when outputting to stdout (Closes #8729)
Diffstat (limited to 'youtube_dl/YoutubeDL.py')
-rwxr-xr-xyoutube_dl/YoutubeDL.py2
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: