Tuesday, 6 August 2019

Automating browser to check inventory at microcenter for PI4 (Puppeteer)

Video demo: https://imgur.com/a/0QCO0rlUsing node and Puppeteer I created a little bot script that browses the microcenter site checking for inventory. It loads the pages one by one automagically and takes note of the inventory.With script running every hour I can be alerted when the PI4 is available again in my local microcenter. Next step will be to pipe the alerts to something interesting like playing a sound, a browser notification, or SMS.I have not tried it yet running on a PI 3...will be curious to see if it can handle a headless chromium within its memory constraints

Submitted August 07, 2019 at 04:14AM by yabadababoo

No comments:

Post a Comment