From 66cc464150d57e241e7f89d7b9c45e7aec1c0c3a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=91=9B=E8=83=A4=E6=B1=A0?= Date: Tue, 20 Dec 2022 22:00:35 +0800 Subject: [PATCH] fix: update config description --- config/index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/config/index.js b/config/index.js index 5f803c8..2be4cb4 100644 --- a/config/index.js +++ b/config/index.js @@ -18,10 +18,10 @@ export const Config = { // conversationPreserveTime: 600, // UA: 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/108.0.0.0 Safari/537.36', // 服务器无interface的话只能用true,但是可能遇到验证码就一定要配置下面的2captchaToken了 + // true时使用无头模式,无界面的服务器可以为true,但遇到验证码时可能无法使用。 headless: false, // 为空使用默认puppeteer的chromium,也可以传递自己本机安装的Chrome可执行文件地址,提高通过率 - // 目前库暂时不支持指定chrome - chromePath: 'C:\\Program Files\\Google\\Chrome\\Application\\chrome.exe', + chromePath: '', // 可注册2captcha实现跳过验证码,收费服务但很便宜。否则需要手点 '2captchaToken': '' }