aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpukkandan <pukkandan.ytdlp@gmail.com>2023-03-09 21:57:44 +0530
committerpukkandan <pukkandan.ytdlp@gmail.com>2023-03-09 21:58:07 +0530
commit66aeaac9aa30b5959069ba84e53a5508232deb38 (patch)
tree68c4891f15cb3ca3658f00a80f419194c7de3854
parent3588be59cee429a0ab5c4ceb2f162298bb44147d (diff)
downloadhypervideo-pre-66aeaac9aa30b5959069ba84e53a5508232deb38.tar.lz
hypervideo-pre-66aeaac9aa30b5959069ba84e53a5508232deb38.tar.xz
hypervideo-pre-66aeaac9aa30b5959069ba84e53a5508232deb38.zip
[downloader/curl] Fix progress reporting
Bug in 8c53322cda75394a8d551dde20b2529ee5ad6e89 Closes #6490
-rw-r--r--yt_dlp/downloader/external.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/yt_dlp/downloader/external.py b/yt_dlp/downloader/external.py
index 5f54017a8..ee130c827 100644
--- a/yt_dlp/downloader/external.py
+++ b/yt_dlp/downloader/external.py
@@ -176,7 +176,7 @@ class ExternalFD(FragmentFD):
return 0
def _call_process(self, cmd, info_dict):
- return Popen.run(cmd, text=True, stderr=subprocess.PIPE)
+ return Popen.run(cmd, text=True, stderr=subprocess.PIPE if self._CAPTURE_STDERR else None)
class CurlFD(ExternalFD):