From 00a5eb7c9cdf94964594b0ef90063f4616eb620c Mon Sep 17 00:00:00 2001 From: theluyuan <1162963624@qq.com> Date: Wed, 14 Jun 2023 22:12:10 +0800 Subject: [PATCH] fix chrome --- util/utils.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/util/utils.js b/util/utils.js index a9f432f..251f433 100644 --- a/util/utils.js +++ b/util/utils.js @@ -10,7 +10,7 @@ function seep(time){ } function dow(info,callback){ - const lux = spawn("./bin/yt-dlp.exe", ['--cookies-from-browser', 'edge', '-P', info.save, '-o', info.title + '.mp4', info.url]) + const lux = spawn("./bin/yt-dlp.exe", ['--cookies-from-browser', 'chrome', '-P', info.save, '-o', info.title + '.mp4', info.url]) lux.stdout.on('data', (data) => { console.log(String(data)) callback(String(data),false)