The Product Sniper is a neat application that allows you to check if an item on a webpage is available!
Pretty much just tracks a webpage element with a way to indicate the products availability.
Demonstration can be shown here.
The documentation is mostly aimed at developers, but feel free to follow along!
- Click here to fork this repo.
- Clone your forked repo
# Replace `YOUR_GITHUB_USERNAME` with your own github username
git clone https://github.com/YOUR_GITHUB_USERNAME/product-sniper.git product-sniper
cd product-sniper
# Create a virtual environment and activate it
python3 -m venv .venv
source .venv/bin/activate
# Install dependencies
pip install -r requirements.txt
- To get updates via email you need to setup an app password for Gmail, this can be done through here.
- Replace the
from_email
andfrom_email_password
with the details for the email that will be used to send updates. For theto_email
you can put in the same one used when sending messages. - The current link its tracking is a PS5 on Amazon UK, however you can change it and track a different item. Keep in mind you do need to change what page element it should track through its id or class. If you know how CSS works then this should be easy for you to complete.
- Run the application and if any errors pop up, feel free to open an issue and I'll be happy to help.
I hope it helps you just track pretty much anything on a page!