2023-04-18 02:37:38 +08:00
|
|
|
|
# 如需自定义,复制此文件为 config.yaml 进行配置
|
|
|
|
|
# 更新配置后需要重启
|
|
|
|
|
|
2023-04-18 02:53:24 +08:00
|
|
|
|
# chromium 地址,可填写系统的edge/chromium路径,例如(根据实际情况调整):
|
|
|
|
|
# chromiumPath: C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe
|
2023-04-18 02:37:38 +08:00
|
|
|
|
chromiumPath:
|
|
|
|
|
|
2023-04-21 13:52:09 +08:00
|
|
|
|
# puppeteer websocket 地址。连接单独存在的 chromium。
|
|
|
|
|
# puppeteerWS: 'ws://browserless:3000'
|
|
|
|
|
puppeteerWS:
|
|
|
|
|
|
2023-04-18 02:37:38 +08:00
|
|
|
|
# headless
|
2023-10-09 02:41:00 +08:00
|
|
|
|
headless: 'new'
|
2023-04-18 02:37:38 +08:00
|
|
|
|
|
2023-04-18 02:53:24 +08:00
|
|
|
|
# puppeteer启动args,注意args的--前缀
|
2023-04-18 02:37:38 +08:00
|
|
|
|
args:
|
|
|
|
|
- --disable-gpu
|
|
|
|
|
- --disable-setuid-sandbox
|
|
|
|
|
- --no-sandbox
|
2023-04-21 13:52:09 +08:00
|
|
|
|
- --no-zygote
|
2023-09-29 04:02:31 +08:00
|
|
|
|
|
|
|
|
|
# puppeteer截图超时时间
|
|
|
|
|
puppeteerTimeout:
|