Skip to content

Tracks product prices from Amazon and Flipkart.

License

Notifications You must be signed in to change notification settings

stevvv/Price-Tracker

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Price-Tracker

Simple python program to track prices on Amazon and Flipkart.

Usage

Fork the repository.
Commit changes in notify.py and main.py

  • notify.py
  1. Line 7
    email["to] = "<your gmail account here>"
  2. Line 15
    smtp.login("xyz@gmail.com", "password") # another gmail account to send mails
  • main.py
  1. Pass urls in line 5
  2. Prices in exp_prices
urls = [
        "https://www.amazon.in/product1/",
        "https://www.flipkart.in/product2/"
       ] # url as strings
marked_prices = [1000, 500] # as integer or float type

Here, it'll notify you when price for product1 gets below 1000 and same for product2 when it gets below 500.
Note : It will check for prices once every 6 hours by default, you can change it on line 23 in main.py.

Turn on Less Secure Apps from your another gmail account and run main.py.
Check the mail entered on line 7 in notify.py for e-mails.

About

Tracks product prices from Amazon and Flipkart.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%