Skip to content

Akalya-005/Amazon-Scraper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

🛒 Amazon Product Scraper

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.


📌 Features

  • 🔍 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)

⚙️ How It Works

  1. Send requests to Amazon search results pages
  2. Parse HTML content using BeautifulSoup
  3. Extract product data and handle missing fields
  4. Write data to CSV file

🛠️ Technologies Used

  • Python
  • requests
  • BeautifulSoup
  • pandas
  • csv

🧪 Sample Run

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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages