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

Bug: `reviews_link` column is always empty

Open promani-glitch opened this issue 1 month ago • 2 comments

Hi @gosom , thanks for the fix on the website link issue.

As requested, I'm opening a separate issue for reviews_link. This column is always returned empty in the CSV output, even for listings that have reviews.

How I Am Running It:

I am using the official Docker image: gosom/google-maps-scraper:latest.

Our Docker command is:

docker run --rm \
  -v $PWD/queries.txt:/queries.txt \
  -v $PWD/results.csv:/results.csv \
  gosom/google-maps-scraper:latest \
  -input /queries.txt \
  -results /results.csv \
  -lang es \
  -extra-reviews

(Note: I also use -depth 15, -c 3, and -exit-on-inactivity 2m flags).

Example Input (queries.txt):

Veterinarios en Madrid #!#veterinarios-madrid

Actual Output:

The results.csv file is generated, but the reviews_link column is empty for all rows.

Expected Output:

I expect the reviews_link column to be populated with the direct URL for that listing's reviews.

Example: https://search.google.com/local/reviews?placeid=ChIJvS8MzPg1HIYRRJuC2D3S4fg&q=Aloha+Vet&authuser=0&hl=es&gl=ES

promani-glitch avatar Nov 16 '25 14:11 promani-glitch

in entry.go file comment this

// entry.UserReviews = make([]Review, 0, len(reviewsI))

and add this

entry.UserReviews = parseReviews(reviewsI)

juneikerc avatar Nov 16 '25 15:11 juneikerc

Thank you for your response. I would need that to be applied to the Docker image.

pauromani avatar Nov 16 '25 21:11 pauromani