fix: update config description

This commit is contained in:
葛胤池 2022-12-20 22:00:35 +08:00
parent 26af26ee6d
commit 66cc464150

View file

@ -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': ''
}