From b8eaf134f9c1c83959bf5b771122261a2b674198 Mon Sep 17 00:00:00 2001 From: liuweiqing Date: Tue, 9 Jul 2024 13:20:02 +0800 Subject: [PATCH] chore: . --- bypasscf.js | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/bypasscf.js b/bypasscf.js index 9fa16610..3fb7b7ee 100644 --- a/bypasscf.js +++ b/bypasscf.js @@ -65,12 +65,12 @@ async function launchBrowserForUser(username, password) { // 如果环境变量不是 'dev',则添加代理配置 // if (process.env.ENVIRONMENT !== "dev") { - browserOptions["proxy"] = { - host: "3.26.115.230", - port: "27754", - username: "GECPjZ1jcC", - password: "Sa39rYDhNx", - }; + // browserOptions["proxy"] = { + // host: "3.26.115.230", + // port: "27754", + // username: "GECPjZ1jcC", + // password: "Sa39rYDhNx", + // }; // } var { connect } = await import("puppeteer-real-browser"); @@ -237,7 +237,7 @@ async function navigatePage(url, page, browser) { pageTitle = await page.title(); // 检查是否超过15秒 - if (Date.now() - startTime > 25000) { + if (Date.now() - startTime > 35000) { console.log("Timeout exceeded, aborting actions."); await browser.close(); return; // 超时则退出函数