A Python application that tracks product prices from Amazon and Flipkart. When the price drops to your set limit or below, it automatically sends you an email notification.
✅ Multi-Platform Support: Track products from Amazon and Flipkart ✅ Price Alerts: Automatic email notifications when price drops below your limit ✅ GUI Interface: User-friendly tkinter interface ✅ Automatic Checking: Checks prices every 30 minutes ✅ Price History: Keeps track of price changes over time ✅ Easy Management: Add, delete, and manage multiple products
- Python 3.7+
- pip (Python package manager)
Open Command Prompt or PowerShell in the project directory and run:
pip install -r requirements.txtThe app comes pre-configured with email settings. No manual setup needed!
Just enter your email address to receive alerts and start tracking prices.
- Open Command Prompt in the project directory
- Run the application:
python main.pyOr simply double-click run.bat
- Enter Your Email: The email address where you want to receive price alerts
- Click "Save": Your email is saved
- Click "Test Email" (optional): Verify everything works
- Done! ✅ Ready to start tracking
-
Product URL: Paste the full Amazon or Flipkart product link
- Example:
https://www.amazon.in/dp/B0XXXXXXXXX - Example:
https://www.flipkart.com/p/XXXXXXXXX
- Example:
-
Price Limit: Enter the price (in ₹) at which you want to be notified
- Example: If a laptop costs ₹50,000 and you enter 45,000, you'll get an alert when it drops to ₹45,000 or below
-
Click "Add Product": The product will be added to the tracking list
- Start Tracking: Click to begin automatic price checking every 30 minutes
- Stop Tracking: Stop the automatic checking
- Refresh Now: Manually check prices immediately
- Delete Selected: Remove a product from tracking
The log at the bottom shows:
- When products are added/deleted
- When prices are updated
- When emails are sent
- Any errors that occur
The application uses SQLite for data storage:
tracked_products.db- Contains all product data and price history- Automatically created in the project directory on first run
- Price Checking: Scrapes the product page to get current price
- Comparison: Compares with your set price limit
- Alert Logic:
- If price ≤ limit → sends email (once per product)
- If price > limit later → resets, ready to alert again if price drops
- Scheduling: Checks every 30 minutes automatically
- Check your App Password: Make sure you're using the 16-character App Password, not your Gmail password
- Verify 2-FA is enabled: Gmail requires 2-Step Verification
- Click "Test Email": This will show you exactly what the error is
- Check internet connection: Ensure you have a stable connection
- The URL might be incorrect or product might be unavailable
- Sometimes websites block automated scraping - try a manual refresh
- URL format must be correct - copy directly from the browser address bar
- Make sure Python 3.7+ is installed
- Install requirements:
pip install -r requirements.txt - Check if port is available
- Run as Administrator if permission denied
- Email credentials are pre-configured in the app
- You only need to enter your recipient email to receive alerts
- Email is sent automatically when prices match your limits
- Default is 30 minutes
- Don't set too frequently to avoid blocking by websites
- 30 minutes is a good balance
- If Amazon or Flipkart changes their website structure, the price scraping might not work
- If this happens, try again later or restart the app
Price Tracker/
├── main.py # Entry point
├── gui.py # GUI interface
├── database.py # Database management
├── scraper.py # Price scraping
├── email_notifier.py # Email sending
├── requirements.txt # Dependencies
├── README.md # This file
└── tracked_products.db # Database (created on first run)
- Support for more e-commerce platforms
- Price trend graphs
- Configurable check intervals
- Telegram/WhatsApp notifications
- Browser extension for quick adds
Free to use and modify for personal use.
If you encounter any issues:
- Check the Activity Log in the GUI
- Verify email configuration with "Test Email"
- Ensure product URLs are correct
- Check internet connection
Happy Shopping! Save money by tracking prices smartly! 🛍️