gosom / gosom/google-maps-scraper

user_reviews.When is mostly empty

Open
#256 0 comments 1 reaction 0 assignees View on GitHub
Dominant language
Go
Stars
5.9k
Forks
924
Avg merge
5d 13h
Merged PRs (30d)
3

Description

## Issue
The `When` feld of the `user_reviews` array objects comes empty most of the times.
This is probably because Google maps displays things like "2 years ago" or "a day ago" or "Edited 3 years ago" as review date, and those strings are not parsed.
It would be nice to have it parsed or have the actual string if parsing failed.

## How to reproduce:
Se query to "gimnasio" and run scraper with
-geo "40.4365459,-3.6805471" \
-zoom 16 \
-lang "en" \
-depth 1 \
-json
-results /results.json

then inspect:
jq '.user_reviews[].When' results.json

Thanks
Pablo

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.