Code Monkey home page Code Monkey logo

amazonscrapper's Introduction

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

  • Make this project more dynamic and deploy it in a presentable manner.
  • There can be better validation for text-parsing. Regex was experimented with but not used in this version.
  • Amazon also displays products on their webpage in several different arrangements. This means different HTML elements and CSS classes, leading to more edge-cases. I have heavily tested different product categories to account for this but a deep-dive may reveal a generic way.

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.

  • Environment: Here's a simple guide to help you install both Python 2.7 and Python 3.6 on Windows 10

Contributing

Please shoot me an email at [email protected] 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

amazonscrapper's People

Contributors

sarthakbatragatech avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.