An open API service indexing awesome lists of open source software.

https://github.com/mzubairtahir/amazon-search-result-scraper

A scraper that scrapes products from the search results of Amazon
https://github.com/mzubairtahir/amazon-search-result-scraper

amazon-bot amazon-scraper data-scraping product-scraper python scraper scraping web-scraping

Last synced: 6 months ago
JSON representation

A scraper that scrapes products from the search results of Amazon

Awesome Lists containing this project

README

          

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. 🤝👨‍💻👩‍💻