网站首页
编程语言
数据库
系统相关
其他分享
编程问答
thinkjs
2024-09-07
thinkjs + puppeteer=解决中文乱码+https错误
asyncindexAction(){constself=this;constbrowser=awaitpuppeteer.launch({headless:true,ignoreHTTPSErrors:true,args:['--no-sandbox','--disable-setuid-sandbox']});constpage=awaitbrowser.newPage();/