A high-performance, concurrent web scraper for Amazon and eBay built with Python and Playwright.
- 🚀 Lightning-fast concurrent scraping from multiple e-commerce sites
- 🔄 Simultaneous product searches on Amazon and eBay
- 📊 Detailed product information including specifications and features
- 🛡️ Built-in rate limiting and resource optimization
- 🎨 Clean, colorful CLI interface
- 🔍 Smart filtering of sponsored products
- 📱 Responsive design that works with different product layouts
- Concurrent scraping reduces search time by up to 50%
- Smart resource filtering reduces bandwidth usage
- Optimized selectors for faster page processing
- Efficient error handling and recovery
-
Clone the repository
git clone https://github.com/ImranDevPython/Product-Scraper.git cd Product-Scraper
-
Create and activate a virtual environment
python -m venv venv source venv/Scripts/Activate.ps1 # On Windows: venv\Scripts\activate
-
Install dependencies
pip install -r requirements.txt
-
Install Playwright browsers
playwright install chromium
-
Run the scraper
python main.py
-
Choose your options:
- Select a specific site (Amazon or eBay)
- Search both sites concurrently
- Adjust the number of products to scrape
-
Enter your search query and view the results
-
Select a product to view detailed information:
- Product specifications
- Special features
- Seller information (eBay)
- Ratings and reviews (Amazon)
-
Choose to perform another search or exit
- Simultaneously search multiple e-commerce sites
- Reduce total search time by up to 50%
- Smart error handling and recovery
- Comprehensive product details
- Site-specific information:
- Amazon: Ratings, reviews, specifications
- eBay: Seller details, feedback ratings, item condition
- Smart request filtering
- Efficient bandwidth usage
- Optimized page loading
- Minimal memory footprint
- Colorful, easy-to-read output
- Clear navigation options
- Progress indicators
- Error messages in red
- Success messages in green
Contributions are welcome! Please feel free to submit a Pull Request.
This project is licensed under the MIT License - see the LICENSE file for details.
Created by ImranDevPython
- Built with Playwright
- Thanks to the Python community for the amazing packages used in this project