google-play-api icon indicating copy to clipboard operation
google-play-api copied to clipboard

All pages have the same review

Open marceloeler opened this issue 5 years ago • 6 comments

I'm trying to get all reviews of a given app but all pages have the same reviews. For instance, the following requests return the same reviews: http://localhost:3000/api/apps/com.whatsapp/reviews http://localhost:3000/api/apps/com.whatsapp/reviews/?page=1 http://localhost:3000/api/apps/com.whatsapp/reviews/?page=2 ...

Do you have an idea what might be going on? I have already changed dependency on package.json to scrapper 7.0.1.

marceloeler avatar Sep 19 '19 06:09 marceloeler

The most recent google-play-scraper is using num instead of pages, this one needs to update to align with that.

facundoolano avatar Sep 19 '19 12:09 facundoolano

Right. Thanks. So I just set num to retrieve the number of reviews I want? Let's say I want to retrieve all reviews - do I need to retrieve all of them at once? Is there a way to use "num" as we used "pages"?

marceloeler avatar Sep 19 '19 12:09 marceloeler

That's a good question, seems like we missed adding a start option along with the num

facundoolano avatar Sep 19 '19 13:09 facundoolano

That would solve the problem.

marceloeler avatar Sep 19 '19 13:09 marceloeler

How hard is it do get done?

marceloeler avatar Sep 19 '19 14:09 marceloeler

Apparently this is not straightforward to do, see here: https://github.com/facundoolano/google-play-scraper/pull/341#issuecomment-533125234

facundoolano avatar Sep 20 '19 20:09 facundoolano