How sheth007/ecommerce-price-scraper works
This repository is a product-price comparison scraper with CLI, Tkinter desktop, and Flask web interfaces. Users submit a product query; the selected interface invokes retailer-specific scraping, gathers product price details, and presents results. The desktop app also offers a quick-commerce search path. The Web_Ui implementation separates its Flask routes from four retailer scrapers. The CLI and desktop e-commerce implementations bundle multiple retailer scrapers into single files. Only sampled source and README relationships are shown; unsampled modules are represented only where the README documents the capability.
Main entry points: app.py Web routes · E_Commerce.py Desktop commerce · Quick_Commerce.py Desktop quick · Main.py Desktop chooser
Components 16
User interfaces
- Desktop chooser
Price Scraper - Gui/Main.py - Desktop commerce
Price Scraper - Gui/E_Commerce.py - CLI commerce
Price Scraper - Cli/E_Commerce.py - Price API
Price Scraper - Cli/E_Commerce_Postman_Api.py - Web routes
Price Scraper - Web_Ui/app.py - Web pages
Price Scraper - Web_Ui/templates/index.html - Search status page
Price Scraper - Web_Ui/templates/status.html
Commerce scraping
- Commerce sites
Quick commerce
- Desktop quick
Price Scraper - Gui/Quick_Commerce.py - Quick-commerce sites
Web scraping
- Amazon scraper
Price Scraper - Web_Ui/amazon.py - Flipkart scraper
Price Scraper - Web_Ui/flipkart.py - JioMart scraper
Price Scraper - Web_Ui/jiomart.py - Croma scraper
Price Scraper - Web_Ui/croma.py - Query config
Price Scraper - Web_Ui/config.py
Other components
- Product shopper
Connections 28
- Product shopper → Desktop chooser: chooses mode
Price Scraper - Gui/Main.py - Desktop chooser → Desktop commerce: launches
Price Scraper - Gui/Main.py - Desktop chooser → Desktop quick: launches
Price Scraper - Gui/Main.py - Product shopper → Desktop commerce: enters query
Price Scraper - Gui/E_Commerce.py - Desktop commerce → Commerce sites: scrapes prices
Price Scraper - Gui/E_Commerce.py - Desktop commerce → Product shopper: shows results
Price Scraper - Gui/E_Commerce.py - Product shopper → Desktop quick: enters query
Price Scraper - Gui/Quick_Commerce.py - Desktop quick → Quick-commerce sites: scrapes prices
Price Scraper - Gui/Quick_Commerce.py - Desktop quick → Product shopper: shows results
Price Scraper - Gui/Quick_Commerce.py - Product shopper → CLI commerce: enters query
Price Scraper - Cli/E_Commerce.py - CLI commerce → Commerce sites: scrapes prices
Price Scraper - Cli/E_Commerce.py - CLI commerce → Product shopper: prints results
Price Scraper - Cli/E_Commerce.py - Product shopper → Price API: requests prices
Price Scraper - Cli/E_Commerce_Postman_Api.py - Price API → Commerce sites: scrapes prices
Price Scraper - Cli/E_Commerce_Postman_Api.py - Price API → Product shopper: returns JSON
Price Scraper - Cli/E_Commerce_Postman_Api.py - Product shopper → Web routes: submits query
Price Scraper - Web_Ui/app.py - Web routes → Web pages: renders search
Price Scraper - Web_Ui/app.py - Web routes → Search status page: renders status
Price Scraper - Web_Ui/app.py - Web routes → Amazon scraper: calls scraper
Price Scraper - Web_Ui/app.py - Web routes → Flipkart scraper: calls scraper
Price Scraper - Web_Ui/app.py - Web routes → JioMart scraper: calls scraper
Price Scraper - Web_Ui/app.py - Web routes → Croma scraper: calls scraper
Price Scraper - Web_Ui/app.py - Amazon scraper → Commerce sites: searches products
Price Scraper - Web_Ui/amazon.py - Flipkart scraper → Commerce sites: searches products
Price Scraper - Web_Ui/flipkart.py - JioMart scraper → Commerce sites: searches products
Price Scraper - Web_Ui/jiomart.py - Croma scraper → Commerce sites: searches products
Price Scraper - Web_Ui/croma.py - Web routes → Product shopper: returns prices
Price Scraper - Web_Ui/app.py - Query config → Product shopper: stores query