raspberry pi comatability

This commit is contained in:
2022-02-17 00:15:21 +03:00
parent a8e120875d
commit 2e0bc4a94e

View File

@@ -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}`)