A smart Python-based price comparison tool that takes a product name as input, searches multiple e-commerce websites (like eBay, Daraz, and Amazon), fetches the available listings, and shows the 2 lowest-priced products along with their direct links.
- 🔍 Accepts user input for product search
- 🌐 Searches across:
- eBay
- Daraz
- Amazon
- 📉 Compares prices and fetches only the two lowest-priced options
- 🔗 Displays clickable product links
- ⚡ Fast and efficient with minimal user input
- User inputs the product name (e.g., "Samsung Galaxy S21").
- Script scrapes e-commerce sites for matching product listings.
- Prices are extracted and sorted.
- The two lowest-priced products are returned with their URLs.
- Python
requests,BeautifulSoupfor web scrapingpandasfor organizing and sorting resultsrefor text cleaning and processing
git clone https://github.com/AtharIbrahim/Price_Comparing.git
cd Price_Comparing
pip install -r requirements.txtpython main.py-
The accuracy of results depends on the product's availability and website structure.
-
Some websites may have anti-scraping mechanisms; using headers/user agents helps bypass basic protections.
- Name: Athar Ibrahim Khalid
- GitHub: https://github.com/AtharIbrahim/
- LinkedIn: LinkedIn Profile
- Website: Athar Ibrahim Khalid
This project is licensed under the MIT License. See the LICENSE file for details.
