You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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), <anonymous>:3:21)\n at UtilityScript.evaluate (<anonymous>:233:19)\n at UtilityScript.<anonymous> (<anonymous>: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.
The text was updated successfully, but these errors were encountered:
I think it is an intermittent issue, I tried to debug and if there is 1 record google will change the url into map/place but sometimes it executes too fast and the page url in playwright hasn't changed into map/place yet and when I put a long timeout after page.WaitForURL it will always work
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), <anonymous>:3:21)\n at UtilityScript.evaluate (<anonymous>:233:19)\n at UtilityScript.<anonymous> (<anonymous>: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
returnsHTTP/2 200
which indicates that my IP address is not blocked by Google.The text was updated successfully, but these errors were encountered: