与Tor一起运行木偶
我安装了Tor Expert Bundle,我想用Puppeteer来运行它。
我尝试:
const browser = await puppeteer.launch({headless: false,args:['--proxy-server="socks5://127.0.0.1:9050"']});
但是我得到错误ERR_NO_SUPPORTED_PROXIES。 我可以使用普通的Chrome浏览器运行它。
看起来像puppetteer只能通过代理运行,没有无头模式