gosom / google-maps-scraper

scrape data data from Google Maps. Extracts data such as the name, address, phone number, website URL, rating, reviews number, latitude and longitude, reviews,email and more for each place
MIT License
869 stars 117 forks source link

Query on google does not match scheduled jobs #3

Closed omattman closed 1 year ago

omattman commented 1 year ago

I'm currently testing the accuracy of the scraper and a simple google business result from the query "hair salon in aalborg, denmark" returns +200 results but only 77 jobs are scheduled to be scraped.

Is there any inner workings I should be wary of and possibly be improved on to help you in this matter?

Wonderful tool btw.

gosom commented 1 year ago

hello,

have you tried adjusting the depth parameter? By default it's 10 .

Try this to 20 and let me know

best

omattman commented 1 year ago

Hi @gosom, thanks for getting back this soon.

I've tested the adjustment of depth to be 20 but the change in results was minor.

In the meantime I've managed to combine the results of your scraper with another tool so we can go ahead and close this unless you want more details from me.

Thanks.

gosom commented 1 year ago

I just checked with your query and indeed I an extract 120 places.

One solution is to do multiple queries with different districts of Aalborg like: hair salon in eternitten aalborg hair salon in hasseris aalborg ....

Note: At the moment the program does not extract anything because google changes the page layout.

ignis-tech-solutions commented 5 months ago

@omattman Hi, I'm facing a similar issue of getting the first 120 results only, did you find a workaround for this (other than adding districts/cities for the queries)?