amazon-review-scraper icon indicating copy to clipboard operation
amazon-review-scraper copied to clipboard

Scraper only scrapes the first review page

Open jimmy10023 opened this issue 4 years ago • 5 comments

Hi, first of all thank you for the code!

I am however having the problem that when scraping multiple pages of reviews for the same product, only the first page gets scraped. The other pages get "scraped" too and show up in the data, but the actual reviews extracted from them are the ones from the first page.

Does anyone know how to fix this?

Thank you!

jimmy10023 avatar Jan 16 '21 15:01 jimmy10023

Hi! I have the same issue, have you figured out how to fix it yet?

hellochang avatar Feb 17 '21 04:02 hellochang

Hi, I am also facing same issue. Please let me know if you figured out how to fix it.

karthikmagesan avatar Jul 23 '21 11:07 karthikmagesan

I believe when you place the URLs in a TXT file, it reads the new line (\n) character when could mess with the URL. I found that if I strip off the last character of the URL being read or place the URLs in a python list, it worked fine for me.

cyanobrian avatar Sep 26 '21 19:09 cyanobrian

I wanted to start with just an asin, get to the first page of reviews, and then keep going to the next page. You basically have to pull the url from next_page and loop on that

jmccaffrey avatar Oct 28 '21 00:10 jmccaffrey

Hi, first of all thank you for the code!

I am however having the problem that when scraping multiple pages of reviews for the same product, only the first page gets scraped. The other pages get "scraped" too and show up in the data, but the actual reviews extracted from them are the ones from the first page.

Does anyone know how to fix this?

Thank you!

The thing is Amazon restricts from scraping ,so when you make too many frequent requests this happens and scrapes only the first page and repeats this only so i would suggest use the request.sessions this might work and it worked for me

ms-shashank avatar May 21 '24 11:05 ms-shashank