Giter Club home page Giter Club logo

amazonscrapper's Introduction

AmazonScrapper

An Amazon Scrapper Written In Python For Personal Educational Purposes

This program is written in python using selenium to rip below fields out of Amazon webstore into two Tables.

Table1: Products Data ID, Title, URL, Location, Variations Count, Review Count

Table2: Reviews Data: Product ID, Review ID, Author, Title, Context, User Rate, Review Score, Variation Purchased, Purchase Type, Date, Location

All scrapped data is getting saved into a sqlite3 database file, You may convert the database to a csv file later on using this code.

please note that Amazon doesnt have a unique structure for all categories, so I can't say if this code works on other categories than Laptops

There are plenty of options in ASConfig.py to play around, Take a look!

Requirements -> A .txt file with product links you want to scrap (Please note that this app is only guaranteed to work properly for the Laptop category) You need to synchronize your file name with ASConfig.py settings

Execute ASFront.py and follow instructions.

Further analysis of Amazon shows the structure in which the web page is built upon,

HTML structure and required XPaths for the product page is as follow: Amazon Product Variations

HTML structure and required XPaths for the reviews page is as follow: Amazon Product Reviews

HTML structure and required XPaths for the review cumulation pre-processing is as follow: Amazon Product Reviews Pre-Processing

Live link to the Analysis Board is: Analysis Board by Miro

amazonscrapper's People

Contributors

mehrdad-ataee avatar

Stargazers

 avatar

Watchers

 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.