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
- Host: GitHub
- URL: https://github.com/mzubairtahir/amazon-search-result-scraper
- Owner: mzubairtahir
- Created: 2023-01-30T04:12:12.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-04-05T19:38:04.000Z (over 2 years ago)
- Last Synced: 2025-02-14T22:19:26.876Z (8 months ago)
- Topics: amazon-bot, amazon-scraper, data-scraping, product-scraper, python, scraper, scraping, web-scraping
- Language: Python
- Homepage:
- Size: 15.6 KB
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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
- Clone the repository to your local machine.
- Install the required libraries by running the following command:
- Open the
main.py
file and insert the link of the second page of the search results. - Set the number of pages you want to scrape and the output format (Excel or CSV).
- Run
main.py
. The scraped data will be saved in a file namedproducts.xlsx
orproducts.csv
depending on the output format you chose.
pip install -r requirements.txt
Contributing
Contributions are welcome! Feel free to submit a pull request. 🤝👨💻👩💻