gosom / gosom/google-maps-scraper

Error: Cannot read properties of null (reading 'scrollHeight')

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

Description

Executing the example command provided in the documentation `./google-maps-scraper -input example-queries.txt -results restaurants-in-cyprus.csv -exit-on-inactivity 3m` , or any valid command, results in the following error:

`{"level":"error","component":"scrapemate","error":"playwright: TypeError: Cannot read properties of null (reading 'scrollHeight')\n at eval (eval at evaluate (:226:30), :3:21)\n at UtilityScript.evaluate (:233:19)\n at UtilityScript. (:1:44)","time":"2024-06-11T01:22:54.741770005Z","message":"error while processing job"}`

I downloaded the repository using git clone and built it locally. The script was functioning correctly a few days ago. So, it's unclear whether the error is on my end or if Google has changed their layout.

Edit: Running `curl -I https://www.google.com/maps` returns `HTTP/2 200` which indicates that my IP address is not blocked by Google.

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.