Coder Social home page Coder Social logo

amazon-reviews-crawler-go's Introduction

Amazon Reviews Crawler Go

Summary

Simple tool to crawl Amazon Reviews metadata from product ID(s). If running via terminal, simply pass the list of product ID(s) as argument, and pass the optioonal -out=output.json flag to export resulted json to output.json file.

If you want to crawl from different Amazon regional website, you can pass either uk or us optional region flag, if region mapping isn't found, region flag input will be used as website domain suffix.

Also, you may need to add the -ref flag to maintain a session to avoid empty results from amazon, e.g. -ref="sr_1_2?keywords=kano&qid=1553793792&s=gateway&sr=8-2"

First iteration is scripted in Python and is located at here

Setup

go get

Example

Crawling product ID "ABCDE", and run:

go run cmd/crawler/crawler.go -region=uk -out=output.json ABCDE

Or, run existing pre-built binary from /bin directory:

./bin/amazon-reviews-crawler-go-darwin -region=uk -out=output.json ABCDE

amazon-reviews-crawler-go's People

Contributors

anzellai avatar

Stargazers

 avatar  avatar  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.