Bug: `reviews_link` column is always empty
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 2mflags).
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
in entry.go file comment this
// entry.UserReviews = make([]Review, 0, len(reviewsI))
and add this
entry.UserReviews = parseReviews(reviewsI)
Thank you for your response. I would need that to be applied to the Docker image.