commit acfccacad5555c21d649729c5e2cb237a70f46e6
parent 5f2c2b7936eb092e482309a5b9aa036028dbab2c
Author: Remita Amine <remitamine@gmail.com>
Date: Sat, 13 Aug 2016 10:26:02 +0100
[downloader/external:curl] Clarify why CurlFD should not capture stderr
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git 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