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');
|
||||
|
||||
(async () => {
|
||||
const browser = await puppeteer.launch({
|
||||
headless: true
|
||||
})
|
||||
const browser = await puppeteer.launch({ executablePath: 'chromium-browser' })
|
||||
const page = await browser.newPage()
|
||||
await page.setDefaultNavigationTimeout(0)
|
||||
|
||||
for (const item of items) {
|
||||
console.log(`Looking at ${item.name}`)
|
||||
|
||||
Reference in New Issue
Block a user