google-maps-scraper icon indicating copy to clipboard operation
google-maps-scraper copied to clipboard

How to retrieve user_reviews?

Open m0wer opened this issue 1 year ago • 11 comments

User reviews are always null with the default command:

touch results.csv && docker run -v $PWD/example-queries.txt:/example-queries -v $PWD/results.csv:/results.csv gosom/google-maps-scraper -depth 1 -input /example-queries -results /results.csv -exit-on-inactivity 3m

Am I doing something wrong? Is it possible to collect all user reviews of a place?

Thanks!

m0wer avatar Feb 28 '24 20:02 m0wer

@m0wer are you able to get the reviews per rating correctly? until a few weeks ago it worked, but now I only get 0 or every star. user_reviews also worked until a few weeks ago and now stopped working for me?

darealdemayo avatar Mar 02 '24 20:03 darealdemayo

#34 If you are interested, I have raised a pull request to resolve the issue. You can just make the changes based on it.

arceushui avatar Mar 05 '24 17:03 arceushui

Currently no reviews at all @darealdemayo . Thanks for the fix @arceushui !

m0wer avatar Mar 06 '24 06:03 m0wer

@arceushui thanks for the fixed.

just release version 1.1.3 with the provided fix

gosom avatar Mar 06 '24 06:03 gosom

Hi, I tried a previous version and it worked perfectly until it stopped showing the user_reviews field. I have downloaded version 1.1.3 which I understand fixes this problem, but in all rows it still returns "null". The review_count, review_rating and reviews_per_rating fields are displayed. Does it work correctly and am I doing something wrong?

buscandomelavida avatar Mar 15 '24 07:03 buscandomelavida

What is the field name that you are having issue?

arceushui avatar Mar 15 '24 09:03 arceushui

user_reviews field

buscandomelavida avatar Mar 16 '24 08:03 buscandomelavida

i am having the same issue "user_reviews:null"

DukeLe97 avatar Mar 21 '24 08:03 DukeLe97

@DukeLe97 , @buscandomelavida I sent a PR to solve the above issue, you could take it a shot

iamsad5566 avatar Mar 29 '24 00:03 iamsad5566

Thanks for your contribution @iamsad5566 , is there any way to get more user_reviews? Now, it only gets 8 user_reviews per place

DukeLe97 avatar Apr 10 '24 03:04 DukeLe97

@iamsad5566 the PR isn't working if you change the example-queries. had you seen it?

MartiRiusO avatar Apr 16 '24 20:04 MartiRiusO