scrapehero-code / amazon-review-api

A very basic API to scrape product reviews from Amazon and get data in real time as JSON with all fields, that amazon product adverstising api does not provide.
https://www.scrapehero.com/free-amazon-product-reviews-api-build-you-own-using-python/
40 stars 17 forks source link

Urgent help on the code! #7

Open Zezzz830 opened 2 years ago

Zezzz830 commented 2 years ago

It says {"error":"URL to scrape is not provided"} every time I run the flask application, and I wonder why this happens.

isayahc commented 1 year ago

I got it to run by inputting exactly http://localhost:5000/?url=https://www.amazon.com/Nike-Womens-Reax-Running-Shoes/product-reviews/B07ZPL752N/ref=cm_cr_dp_d_show_all_btm?ie=UTF8&reviewerType=all_reviews Also you need to pip install the requests, and catch a ValueError in line 56.