Skip to content

A scraper that scrapes products from the search results of Amazon

Notifications You must be signed in to change notification settings

mzubairtahir/amazon-search-result-scraper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 

Repository files navigation

Amzon Search Result Scraper

A scraper that scrapes products from the search results of Amazon. 🕵️‍♂️🛍️

Features of products that it scrapes:

  • Title: Product title 📦
  • Product URL: Link to the product page 🔗
  • Image URL: Link to the product image 🖼️
  • Total Reviews: Total number of reviews for the product 🌟
  • Rating: Product rating out of 5 ⭐
  • Price: Product price 💰

You can set how many pages you want to scrape and the output format (Excel or CSV). Note that you need to insert the link to the second page of the search results, not the first page.

How to use

  1. Clone the repository to your local machine.
  2. Install the required libraries by running the following command:
  3. pip install -r requirements.txt
  4. Open the main.py file and insert the link of the second page of the search results.
  5. Set the number of pages you want to scrape and the output format (Excel or CSV).
  6. Run main.py. The scraped data will be saved in a file named products.xlsx or products.csv depending on the output format you chose.

Contributing

Contributions are welcome! Feel free to submit a pull request. 🤝👨‍💻👩‍💻

Releases

No releases published

Packages

No packages published

Languages