AmazonScrapper

Web-scraping amazon.com with Beautiful Soup to track product categories

AmazonScrapper

NOTE: This repo is no longer maintained due to constant CSS changes on amazon’s website. Thank you! :-)

This project performs web-scraping on www.amazon.com with the Python package Beautiful Soup. The user can enter any product category and a ‘csv’ file with the Amazon ASIN codes, product name, price, and number of reviews is generated.

How can this help you?

The initial inspiration for this project was to get a dump of Amazon ASIN codes, or ID’s for any product category. API requests on those ASIN codes can give a detailed analysis of the inventory. However, services usually rate-limit your requests or make you pay a decent fee. This can be a problem, as I found out when tracking kitchen-ware over a month to visualize fluctuations. Thus, I decided to make a minimal but effective version which doesn’t need any API requests.

As the images below will indicate, this can also be invaluable to small and new business in trying to gauge competition. Additionally, investors can use this to monitor an entire commodity space.

Product Analysis

images/Product Analysis

Review Distribution

images/Review Distribution

Further improvements

Getting Started

If you have little Python experience, you can find plenty of resources on the internet to learn how to execute a Python file, clone a Github project on your local machine, or use external packages like BeautifulSoup.

Contributing

Please shoot me an email at sarthakbatra1993@gmail.com with the title ‘Contributing to AmazonScrapper’ if you have suggestions on how to make it better or would want to know more about pull requests.

Authors

License

This project is licensed under the MIT License - see the LICENSE.md file for details