amazon-product-review-scraper icon indicating copy to clipboard operation
amazon-product-review-scraper copied to clipboard

Python package to scrape product review data from amazon

Amazon Product Review Scraper

Python package to scrape product review data from amazon

Quickstart

pip install amazon-product-review-scraper
from amazon_product_review_scraper import amazon_product_review_scraper
review_scraper = amazon_product_review_scraper(amazon_site="amazon.in", product_asin="B07X6V2FR3")
reviews_df = review_scraper.scrape()
reviews_df.head(5)

Parameters

  1. amazon_site

    Examples: amazon.in, amazon.com, amazon.co.uk

  2. product_asin

    Product ASIN (Amazon Standard Identification Number) An ASIN is a 10-character alphanumeric unique identifier that is assigned to each product on amazon.

    Examples:

    • https://www.amazon.in/Grand-Theft-Auto-V-PS4/dp/B00L8XUDIC/ref=sr_1_1
    • https://www.amazon.in/Renewed-Sony-Cybershot-DSC-RX100-Digital/dp/B07XRVR9B9/ref=lp_20690678031_1_14?srs=20690678031&ie=UTF8&qid=1598553991&sr=8-14
  3. sleep_time (Optional)

    Number of seconds to wait before scraping the next page. (Amazon might intervene with CAPTCHA if receives too many requests in a small period of time)

  4. start_page (Optional)

  5. end_page (Optional)