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 details)

Uploaded Source

Built Distribution

File details

Details for the file amazon_product_review_scraper-0.9.tar.gz.

File metadata

  • Download URL: amazon_product_review_scraper-0.9.tar.gz
  • Upload date:
  • Size: 4.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/54.1.1 requests-toolbelt/0.9.1 tqdm/4.48.0 CPython/3.6.9

File hashes

Hashes for amazon_product_review_scraper-0.9.tar.gz
Algorithm Hash digest
SHA256 c6e2d1c281c68cd9b1a9ac103a13ca547416e3fb0493034df2305ab15d2ad08e
MD5 abf3ee1a326be7f90fc67add93cd1135
BLAKE2b-256 09d51b13f84b71f9b22a0d8b08f28615f45e15d741dabaa0846a8e5a3311f201

See more details on using hashes here.

File details

Details for the file amazon_product_review_scraper-0.9-py3-none-any.whl.

File metadata

  • Download URL: amazon_product_review_scraper-0.9-py3-none-any.whl
  • Upload date:
  • Size: 5.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/54.1.1 requests-toolbelt/0.9.1 tqdm/4.48.0 CPython/3.6.9

File hashes

Hashes for amazon_product_review_scraper-0.9-py3-none-any.whl
Algorithm Hash digest
SHA256 0ae6ef26aa99297e8e279299ab57b43559aa5046dabb7dfc276ccd2bd7ef5eb3
MD5 46799d658fc7f951e7d099210784b2fb
BLAKE2b-256 e27793d24bd36a5e95553c07bf174227c11253f77a7d5e70aaf4953e5f3750b4

See more details on using hashes here.

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