Python package to scrape product review data from amazon
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)
-
Examples: amazon.in, amazon.com, amazon.co.uk
-
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
- https://www.amazon.in/Grand-Theft-Auto-V-PS4/dp/
-
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)