diff --git a/bin/reptile/pufei_net/find.js b/bin/reptile/pufei_net/find.js index 34d474b..86bd232 100644 --- a/bin/reptile/pufei_net/find.js +++ b/bin/reptile/pufei_net/find.js @@ -4,7 +4,8 @@ let mainurl = "http://www.pufei.net/" let gethtml = (name) => { return new Promise(async (res, rej) => { puppeteer.launch({ - headless: true + headless: true, + args: ['--no-sandbox', '--disable-setuid-sandbox'] }).then(async (browser) => { const page = await browser.newPage(); diff --git a/bin/reptile/taduo_net/find.js b/bin/reptile/taduo_net/find.js index 44a019b..e282cf6 100644 --- a/bin/reptile/taduo_net/find.js +++ b/bin/reptile/taduo_net/find.js @@ -5,6 +5,7 @@ let gethtml = (name) => { return new Promise(async (res, rej) => { puppeteer.launch({ headless: true, + args: ['--no-sandbox', '--disable-setuid-sandbox'] }).then(async (browser) => { const page = await browser.newPage();