scrapehero-code / amazon-review-scraper

A basic python 3 based web scraper for extracting reviews from Amazon. Built using Selectorlib and requests
https://www.scrapehero.com/how-to-scrape-amazon-product-reviews/
54 stars 49 forks source link

TypeError: 'NoneType' object is not iterable #1

Closed wolleakira closed 4 years ago

wolleakira commented 4 years ago

I installed all the requirements and ran the code for testing without changing the urls or anything and got the following error:

Downloading 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 Traceback (most recent call last): File "C:/Users/amazon-review-scraper-master/reviews.py", line 46, in for r in data['reviews']: TypeError: 'NoneType' object is not iterable

Could you tell me where the code might need to be changed or what I should do?