Skip to content

Checks rpilocator.com for Raspberry Pi 4 availability

Notifications You must be signed in to change notification settings

lidocaineus/rpi4_locator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 

Repository files navigation

rpi4_locator

Attempts to gently scrape rpilocator for available Raspberry Pi 4s. By default runs continuously every 30 minutes. PLEASE be nice when interacting with the rpilocator site and do not be overly aggressive.

Options

-n, --not-continuous: only run once, then exit
-i, --interval: interval, in seconds, of when it will check the website
-u, --usa-usa: only check the US region, but will include other Raspberry Pi types other than the model 4B (see errata)

To Do

  • Spin out a thread to monitor keyboard for exit and proper teardown.

Errata

  • rpilocator.com renders rows after each "Support this site" message with an HTML error; specifically, it closes the table row then continues to create columns.

  • While the scraper could filter down arbitrarily by interacting with the JS filter field, I'm not sure it's worth building out the necessary JavaScript interaction engine for scraping purposes in this particular case.

About

Checks rpilocator.com for Raspberry Pi 4 availability

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages