From 1239a70bd591cd91221a69cefbc46272918a83ea Mon Sep 17 00:00:00 2001 From: liudongqi Date: Wed, 4 Sep 2024 19:55:39 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B5=8B=E8=AF=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- routes/index.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/routes/index.js b/routes/index.js index eb9d66f..682ee9b 100644 --- a/routes/index.js +++ b/routes/index.js @@ -160,7 +160,9 @@ async function handle(url, htmlStr, jsText, cookie, userAgent, uuid, loadHtmlJs) if (val != null) { return val; } - throw new Error('执行超时') + console.log(`${uuid} 执行超时`) + return cookieJar.getCookieStringSync(baseUrl); + // throw new Error(`${uuid}执行超时`) }