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.
- Scrapes the product name and price from Amazon
- Logs price history to a
.csvfile - Notifies with a beep sound when the price is below your set limit
- Easy to customize and extend
- Python 3.x
requestsbeautifulsoup4
Install the dependencies:
pip install -r requirements.txt
- Open
price_tracker.py - Replace the
base_urlwith your Amazon India product URL. - Set your desired
threshold_price.
base_url = 'https://amzn.in/your-product-link'
threshold_price = 25000- Run the script:
python price_tracker.pyIf the price is below the threshold, you'll get a beep alert and it will log the price in a CSV file.
- A CSV file with the product's name will be created (e.g.,
Macbook.csv) - It stores the price with the current date
- Add support for email or Telegram alerts
- Track multiple products from a list
- Handle CAPTCHA and Amazon blocking more gracefully
This tool is for educational purposes only. Scraping Amazon may violate their terms of service.
Made with π» by Charan