amazon-product-reviews-scraper

A nodejs package to scrape product reviews data automatically on amazon.

Usage no npm install needed!

<script type="module">
  import amazonProductReviewsScraper from 'https://cdn.skypack.dev/amazon-product-reviews-scraper';
</script>

README

Amazon-Product-Reviews-Scraper is a nodejs package to get product reviews on amazon automatically using browser automation. It currently runs only on windows.

Installation

npm install amazon-product-reviews-scraper

Example

In this example we first import package, then we get reviews of product.

var amazon=require("amazon-product-reviews-scraper");

function print_data(response){
    var data=response["body"]
    console.log("reviews data",data)
}
function get_data(){
    amazon.get_reviews(print_data)
}
amazon.open("https://www.amazon.in/Intellilens%C2%AE-Spectacles-Anti-glare-Protection-Computer/product-reviews/B07JCKYCJ1/ref=cm_cr_dp_d_show_all_btm?ie=UTF8&reviewerType=all_reviews",get_data)

Youtube Video

DataKund

datakund is needed for browser automation. As soon as this package is imported in code, automated browser will open up.

Import

var amazon=require("amazon-product-reviews-scraper");

Open product reviews link

amazon.open("product review url")

Get reviews

amazon.get_reviews()

Contact Us