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.
- 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.
- Amazon UK
- Bremner TCG
- Cosmic Collectables
- Dan Solo TCG
- Double Sleeved
- Endo Collects
- Firestorm Cards
- Romulus Games
- Pokemon Center (may trigger CAPTCHA)
- Smyths Toys UK (CAPTCHA & blocks)
- The Card Vault (loads homepage instead of product page)
- Endgame LDN (sign-up prompt)
- Hills Cards (email system only)
- HMV (human verification page)
- Magic Madhouse (false positives for in-stock items)
- Clone the repository or copy the script to your local machine.
- Create a virtual environment (recommended):
python -m venv venv
source venv/bin/activate # Linux/macOS
venv\Scripts\activate # Windows