Runs on a Rasperry Pi and scrapes prices from Amazon, which are stored in a Prisma Database, hosted on Planetscale.
- sudo apt install chromium-browser
- Make sure the executable path in puppeteer.launch() is correct: executablePath: '/usr/bin/chromium-browser',
- More Information: https://stackoverflow.com/questions/60129309/puppeteer-on-raspberry-pi-zero-w
This would run every hour:
- pm2 start index.js --cron "0 */1 * * *"
- Twitter: @nairol203
- Discord: Florian#5694