This Telegram bot helps you monitor the price of Flipkart products and sends notifications when the price drops below a specified threshold.
- Real-time Price Monitoring: Continuously checks the price of a specified Flipkart product.
- Customizable Alerts: Set a minimum price threshold to receive notifications when the price drops below that value.
- Error Handling: Handles errors gracefully and retries after a delay to ensure continuous monitoring.
- Python 3.x
requests
librarybeautifulsoup4
librarytelebot
library
-
Clone the repository:
git clone https://github.com/sudeep-m-shetty/PriceAlertBot.git cd PriceAlertBot
-
Install dependencies:
pip install -r requirements.txt
-
Obtain a Telegram Bot Token:
- Create a new bot using BotFather.
- Copy the token and replace
TELEGRAM_TOKEN
in thebot.py
file.
-
Get your Telegram Chat ID:
- Send a message to your bot from Telegram.
- Replace
TELEGRAM_CHAT_ID
in thebot.py
file with your chat ID.
-
Start the bot:
python bot.py
-
Use the bot:
- Send the complete Flipkart product URL to the bot.
- Enter the minimum price (in ₹) you want to be notified for.
- The bot will start monitoring the price and notify you when it drops below the specified threshold.
Contributions are welcome! If you find any issues or want to enhance the bot, feel free to open an issue or create a pull request.
This project is licensed under the MIT License - see the LICENSE file for details.