Giter VIP home page Giter VIP logo

oxylabs / amazon-review-scraper Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 1.0 16 KB

Amazon Review Scraper for hassle-free review data extraction, including authors, titles, descriptions, ratings, dates, and more.

Home Page: https://oxylabs.io/products/scraper-api/ecommerce/amazon/reviews

C# 25.25% Shell 3.44% Go 11.62% Java 31.22% JavaScript 9.36% PHP 12.00% Python 7.11%
amazon amazon-api amazon-review-scraper amazon-reviews amazon-scraper amazon-scraping amazon-product-scraper amazon-scraping-library amazon-web-scraper url-scraper

amazon-review-scraper's Introduction

Amazon Review Scraper

Amazon_scraper (1)

Amazon Review Scraper is designed to extract localized Amazon ratings and reviews in real-time without a hitch. This quick guide will walk you through the process of scraping Amazon reviews using Oxylabs' Scraper API.

How it works

You can retrieve Amazon reviews by providing the ASIN number to our service. Our API will return the results in JSON or HTML format.

Python code example

The following example showcases how you can make a request to retrieve product reviews for ASIN B08238V32L on the amazon.nl marketplace:

import requests
from pprint import pprint


# Structure payload.
payload = {
    'source': 'amazon_reviews',
    'domain': 'nl',
    'query': 'B08238V32L',
    'parse': True,
}


# Get response.
response = requests.request(
    'POST',
    'https://realtime.oxylabs.io/v1/queries',
    auth=('user', 'pass1'),
    json=payload,
)

# Print prettified response to stdout.
pprint(response.json())

See code examples for other programming languages here.

Output Example

{
  "results": [
    {
      "content": {
        "asin": "B08238V32L",
        "asin_in_url": "B08238V32L",
        "page": 1,
        "page_type": "Question",
        "pages": 1,
        "parse_status_code": 12000,
        "product_name": "VASAGLE bureau, computer bureau, 100 x 50 x 75 cm, eenvoudige constructie, industriële vormgeving, vintage bruin-zwart LWD41X",
        "reviews": [
          {
            "author": "jack ouwehand",
            "content": "de levering was eerder dan gepland ,dat was prettig.. Het wordt gebruikt als computertafel",
            "id": "R238HIUHAN7PFT",
            "is_verified": "True",
            "product_attributes": "Maat: 100 x 50 x 75 cmKleur: Honingbruin + Zwart",
            "rating": 4,
            "timestamp": "Beoordeeld in Nederland 🇳🇱 op 20 juni 2023",
            "title": "4,0 van 5 sterren dat het product eenvoudig met de gebruiksaanwijzing in elkaar kon worden gezet."
          },
          ...
          {
            "author": "mstf",
            "content": "A really solid table, I definitely recommend it, I bought this table as a result of my long research.",
            "id": "R13WDAOIY4YVXJ",
            "is_verified": "True",
            "product_attributes": "",
            "rating": 5,
            "timestamp": "Beoordeeld in Nederland 🇳🇱 op 5 mei 2022",
            "title": "5,0 van 5 sterren i think best price performance table"
          }
        ],
        "url": "https://www.amazon.nl/product-reviews/B08238V32L?reviewerType=all_reviews&pageNumber=1"
      },
      "created_at": "2023-07-19 14:04:35",
      "job_id": "7087432033898598401",
      "page": 1,
      "parser_type": "",
      "status_code": 200,
      "updated_at": "2023-07-19 14:04:38",
      "url": "https://www.amazon.nl/product-reviews/B08238V32L?reviewerType=all_reviews&pageNumber=1"
    }
  ]
}

Oxylabs’ Amazon Review Scraper will easily streamline your public data extraction efforts. Get hassle-free access to Amazon review data, such as rating scores, review titles and descriptions, author names, review dates, and more.

You’ll also get access to a complete Amazon Scraper, so feel free to check out this in-depth guide for more information. In case you have any questions or need assistance, contact our 24/7 support team via live chat or email.

Looking to scrape more other Amazon data? Amazon ASIN Scraper, Bypass Amazon CAPTCHA, How to Scrape Amazon Prices, Scraping Amazon Product Data

amazon-review-scraper's People

Contributors

augustoxy avatar oxylabsorg avatar

Stargazers

 avatar

Watchers

 avatar

Forkers

rgaurg

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.