Deal Predator is a customizable price tracker that allows users to set target prices and receive notifications via Telegram. The application uses web scraping to monitor prices on e-commerce websites, providing a simple and efficient solution for bargain hunters.
- Customizable Targets: Set specific price targets for your favorite products.
- Real-Time Notifications: Receive instant updates via Telegram when prices hit your target.
- Web Scraping: Uses Selenium WebDriver to scrape product data from e-commerce websites.
- Dashboard: Simple and intuitive HTML/CSS-based dashboard for tracking targets and viewing updates.
- Backend: Flask (Python)
- Frontend: HTML templates with CSS
- Database: SQLite
- Web Scraping: Selenium WebDriver
- Notifications: Telegram Bot API
-
Clone this repository:
git clone https://github.com/yourusername/deal-predator.git cd deal-predator -
Set up a virtual environment (optional but recommended):
python -m venv venv source venv/bin/activate # On Windows: venv\Scripts\activate
-
Install the required dependencies:
pip install -r requirements.txt
-
Configure the Telegram bot:
- Create a Telegram bot using BotFather and get your bot token.
- Update the configuration file or environment variables with the bot token.
-
Run the application:
python app.py
-
Access the dashboard: Open your browser and navigate to
http://localhost:5000.
- Add products to track and set price targets using the dashboard.
- The system will monitor the prices periodically.
- Receive Telegram notifications when the prices drop to your target.
Contributions are welcome! Please feel free to submit a pull request or open an issue for any bugs or feature requests.
This project is licensed under the MIT License. See the LICENSE file for details.