Skip to content

A feature-rich command-line audio/video downloader

[downloader/external:curl] Clarify why CurlFD should not capture stderr

Remita Amineacfccacad555
diff --git a/youtube_dl/downloader/external.py b/youtube_dl/downloader/external.py
index f0c30007f7..cf45562217 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