Skip to content

A simple web scrawler Python program that checks a list of URLs, views the HTML, and looks for phrases like, "out of stock". If such phrases are found, the program will keep periodically cycling the list until such phrases are not found on the page. In this case, an email will be sent to you notifying you that the item is back in stock.

License

Notifications You must be signed in to change notification settings

cm-davies/simple-stock-check

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

simple-stock-check

A Python script that monitors product pages across multiple websites and sends email notifications when items are back in stock. It uses Playwright with stealth features to simulate human browsing and bypass basic anti-bot protections.


Features

  • Supports multiple websites, including Amazon, Cosmic Collectables, and others.
  • Detects CAPTCHAs and pauses for manual solving.
  • Robust detection of in-stock and out-of-stock states, including site-specific logic.
  • Sends email notifications via SMTP when items become available.
  • Uses human-like random pauses, scrolling, and mouse movement to mimic real users.
  • Maintains a persistent browser context for more consistent behavior.

Supported Sites

Works reliably

Sometimes works

Known issues / does not work


Installation

  1. Clone the repository or copy the script to your local machine.
  2. Create a virtual environment (recommended):
python -m venv venv
source venv/bin/activate  # Linux/macOS
venv\Scripts\activate     # Windows

About

A simple web scrawler Python program that checks a list of URLs, views the HTML, and looks for phrases like, "out of stock". If such phrases are found, the program will keep periodically cycling the list until such phrases are not found on the page. In this case, an email will be sent to you notifying you that the item is back in stock.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages