finds.dev← search

// the find

EricJMarti/inventory-hunter

★ 1,117 · Python · MIT · updated Jan 2023

⚡️ Get notified as soon as your next CPU, GPU, or game console is in stock

A Python scraper bot that polls retailer pages for GPU, CPU, and console stock and fires alerts via Discord, Slack, Telegram, or email. Built during the 2020-2021 GPU shortage when scalpers were winning, it runs on a Raspberry Pi under Docker. The problem it solved is largely gone now — GPUs sit on shelves — so this is more a historical artifact than an active tool.

Per-retailer scraper modules (Amazon, Newegg, Best Buy, etc.) are cleanly separated with shared HTML fixture tests, so adding a new retailer is straightforward. The worker/gRPC architecture lets you run multiple scraper workers coordinated by a server process, which is a reasonable design for a polling bot. Docker-first setup with both bash and PowerShell run scripts means it actually works cross-platform. The test suite uses real captured HTML snapshots rather than mocks, so parser breakage gets caught immediately.

Last commit was January 2023 and all the config files reference RTX 3080/3090 hardware that's been readily available for years — realistically, every scraper is probably broken against current retailer markup. The Selenium-based approach in scrape.js is fragile and will break whenever a retailer tweaks their anti-bot measures; there's no mention of how to handle CAPTCHAs beyond the test fixtures that show they exist. No rate limiting or randomized delays visible in the core loop, which means running this today would get you IP-blocked almost immediately. The project is frozen in amber around a moment in time; it would need significant maintenance before it could actually do its job.

View on GitHub →

// want more like this?

We dig through GitHub every week and send a few repos picked for what you actually care about — each with an honest take like this one.

Get finds in your inbox → Search again →