Skip to main content

Python package to scrape product review data from amazon

Project description

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)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

amazon_product_review_scraper-0.9.tar.gz (4.1 kB view hashes)

Uploaded Source

Built Distribution

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page