Skip to content

The Kensington website doesn't have an "email when back in stock button" so I made an alternative.

License

Notifications You must be signed in to change notification settings

tomdeabreucodes/kensington-stock-checker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

The Kensington website doesn't have an "email when back in stock button" so I made an alternative.

Notes:

  • Run pip3 install -r requirements.txt to install dependencies
  • Create a .env file containing your SMTP email and password and keep it secure
  • If you don't have Firefox, you can use Chrome, but may need the chromewebdriver if not already setup
  • Can easily be adapted to check stock of other products/retailers, just update the product URL and "Where to Buy" text, replacing with text that only appears when the product is available
  • Update the absolute paths in 'main.sh' based on where your code is stored. Crontab will not work otherwise
  • Example cron job could be 0 * * * * bash /home/artfvl/Documents/code/kensington-stock-checker/main.sh this will run once per hour in the background

About

The Kensington website doesn't have an "email when back in stock button" so I made an alternative.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published