无头关闭
This commit is contained in:
parent
5137d188eb
commit
21533025ba
@ -4,7 +4,7 @@ let mainurl = "http://www.pufei.cc"
|
||||
let gethtml = (name) => {
|
||||
return new Promise(async (res, rej) => {
|
||||
puppeteer.launch({
|
||||
headless: false,
|
||||
headless: true,
|
||||
args: ['--no-sandbox', '--disable-setuid-sandbox','--blink-settings=imagesEnabled=false']
|
||||
}).then(async (browser) => {
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user