From 08c5c3d2524cde5404ea3e9973f65973f82d7ad1 Mon Sep 17 00:00:00 2001 From: koichinoi <2504144398@qq.com> Date: Fri, 7 Mar 2025 20:20:02 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E5=B0=8F=E9=A3=9E?= =?UTF-8?q?=E6=9C=BA=E9=97=AE=E9=A2=98=EF=BC=8C=E5=8E=9F=E5=9B=A0=E6=98=AF?= =?UTF-8?q?=20--size=E5=BC=83=E7=94=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- utils/tdl-util.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/tdl-util.js b/utils/tdl-util.js index 94ae720..a97ca58 100644 --- a/utils/tdl-util.js +++ b/utils/tdl-util.js @@ -14,7 +14,7 @@ export async function startTDL(url, curPath, isOversea, proxyAddr, videoDownload return new Promise((resolve, reject) => { curPath = path.resolve(curPath); const proxyStr = isOversea ? `` : `--proxy ${ proxyAddr }`; - const concurrencyStr = videoDownloadConcurrency > 1 ? `-t ${ videoDownloadConcurrency } -s 524288 -l ${ videoDownloadConcurrency }` : ''; + const concurrencyStr = videoDownloadConcurrency > 1 ? `-t ${ videoDownloadConcurrency } -l ${ videoDownloadConcurrency }` : ''; const command = `tdl dl -u ${ url } -d ${ curPath } ${ concurrencyStr } ${ proxyStr }` logger.mark(`[R插件][TDL] ${ command }`); exec(command, (error, stdout, stderr) => {