aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRemita Amine <remitamine@gmail.com>2016-08-13 10:26:02 +0100
committerRemita Amine <remitamine@gmail.com>2016-08-13 10:26:02 +0100
commitacfccacad5555c21d649729c5e2cb237a70f46e6 (patch)
tree608c05f22713e429fbfe9582cc46df2b9deb44fe
parent5f2c2b7936eb092e482309a5b9aa036028dbab2c (diff)
downloadyoutube-dl-acfccacad5555c21d649729c5e2cb237a70f46e6.tar.xz
[downloader/external:curl] Clarify why CurlFD should not capture stderr
-rw-r--r--youtube_dl/downloader/external.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/youtube_dl/downloader/external.py b/youtube_dl/downloader/external.py
index f0c30007f..cf4556221 100644
--- a/youtube_dl/downloader/external.py
+++ b/youtube_dl/downloader/external.py
@@ -114,6 +114,7 @@ class CurlFD(ExternalFD):
self._debug_cmd(cmd)
+ # curl writes the progress to stderr so don't capture it.
p = subprocess.Popen(cmd)
p.communicate()
return p.returncode