This project is a simple web scraper built in Python that extracts product information from Amazon based on a search keyword. It collects data like title, price, rating, review count, and availability, and stores the results in a CSV file.
- 🔍 Scrape Amazon for any keyword (e.g., laptop, shoes)
- 📊 Collect up to 500 product entries
- 🧾 Extract:
- Product Title
- Price
- Rating
- Number of Reviews
- Availability
- 📁 Output stored in
products.csv(Excel-compatible)
- Send requests to Amazon search results pages
- Parse HTML content using BeautifulSoup
- Extract product data and handle missing fields
- Write data to CSV file
- Python
requestsBeautifulSouppandascsv
python amazon_scraper.py
📁 Sample CSV Output
Title Price Rating Reviews Availability
Apple iPhone 15 ₹79,990 4.5 10,234 In stock
Samsung Galaxy M14 5G ₹13,499 4.3 7,890 In stock
HP 15s Laptop ₹42,990 4.2 3,456 Out of stock