Skip to content

A simple Python tool that tracks the price of a product on Amazon India and alerts the user when the price drops below a specified threshold. Uses web scraping with BeautifulSoup and stores price history in a CSV file.

Notifications You must be signed in to change notification settings

charan255/Amazon-Price-Tracker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

4 Commits
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ“‰ Amazon Price Tracker (India)

This is a simple Python script that checks the price of a product on Amazon India and alerts you if it drops below a specified threshold. It also saves the daily price to a CSV file for historical tracking.

πŸ”§ Features

  • Scrapes the product name and price from Amazon
  • Logs price history to a .csv file
  • Notifies with a beep sound when the price is below your set limit
  • Easy to customize and extend

πŸ“¦ Requirements

  • Python 3.x
  • requests
  • beautifulsoup4

Install the dependencies:

pip install -r requirements.txt

πŸ“ Usage

  1. Open price_tracker.py
  2. Replace the base_url with your Amazon India product URL.
  3. Set your desired threshold_price.
base_url = 'https://amzn.in/your-product-link'
threshold_price = 25000
  1. Run the script:
python price_tracker.py

If the price is below the threshold, you'll get a beep alert and it will log the price in a CSV file.

πŸ“Š Output

  • A CSV file with the product's name will be created (e.g., Macbook.csv)
  • It stores the price with the current date

πŸš€ To-Do / Improvements

  • Add support for email or Telegram alerts
  • Track multiple products from a list
  • Handle CAPTCHA and Amazon blocking more gracefully

⚠️ Disclaimer

This tool is for educational purposes only. Scraping Amazon may violate their terms of service.


Made with πŸ’» by Charan

About

A simple Python tool that tracks the price of a product on Amazon India and alerts the user when the price drops below a specified threshold. Uses web scraping with BeautifulSoup and stores price history in a CSV file.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages