raspberry pi comatability
This commit is contained in:
5
index.js
5
index.js
@@ -3,10 +3,9 @@ const items = require('./items')
|
|||||||
const output = require('./output');
|
const output = require('./output');
|
||||||
|
|
||||||
(async () => {
|
(async () => {
|
||||||
const browser = await puppeteer.launch({
|
const browser = await puppeteer.launch({ executablePath: 'chromium-browser' })
|
||||||
headless: true
|
|
||||||
})
|
|
||||||
const page = await browser.newPage()
|
const page = await browser.newPage()
|
||||||
|
await page.setDefaultNavigationTimeout(0)
|
||||||
|
|
||||||
for (const item of items) {
|
for (const item of items) {
|
||||||
console.log(`Looking at ${item.name}`)
|
console.log(`Looking at ${item.name}`)
|
||||||
|
|||||||
Reference in New Issue
Block a user