Custom Price Filter Upgrade
Budget: ₹12,500 – ₹37,500 INR
My Python-based Telegram bot already scrapes Amazon India with Playwright, runs a quick AI relevance check, and stores everything in simple JSON files. What it still lacks is a way for each user to narrow the alerts by a price window they decide themselves.
I need you to extend the current code so that:
• Any user can send a command (or use an inline button, if easier) to set a minimum and maximum price in INR.
• The filter lives per-user in the existing JSON structure and survives restarts.
• All subsequent deal checks respect that range before the AI scoring step, so a product outside the window is never analysed or messaged.
• Edge cases—bad input, missing values, currency formatting—are handled gracefully with friendly feedback inside Telegram.
The project is entirely in Python, using python-telegram-bot, Playwright, and a flat-file JSON store; no SQL layer is involved. Please keep those choices intact. Once you’re done, I’ll verify the feature by setting different ranges from two test accounts and confirming that each receives only qualifying deals.
If you can think of a clean Telegram UX for entering the numbers quickly, let me know in your proposal—otherwise stick to a simple /setprice 1000 2500 style command.
I need you to extend the current code so that:
• Any user can send a command (or use an inline button, if easier) to set a minimum and maximum price in INR.
• The filter lives per-user in the existing JSON structure and survives restarts.
• All subsequent deal checks respect that range before the AI scoring step, so a product outside the window is never analysed or messaged.
• Edge cases—bad input, missing values, currency formatting—are handled gracefully with friendly feedback inside Telegram.
The project is entirely in Python, using python-telegram-bot, Playwright, and a flat-file JSON store; no SQL layer is involved. Please keep those choices intact. Once you’re done, I’ll verify the feature by setting different ranges from two test accounts and confirming that each receives only qualifying deals.
If you can think of a clean Telegram UX for entering the numbers quickly, let me know in your proposal—otherwise stick to a simple /setprice 1000 2500 style command.