Google Maps Scraper
No credit card required
Google Maps Scraper
No credit card required
Extract data from hundreds of Google Maps locations and businesses. Get Google Maps data including reviews, images, contact info, opening hours, location, popular times, prices & more. Export scraped data, run the scraper via API, schedule and monitor runs, or integrate with other tools.
Do you want to learn more about this Actor?
Get a demoLast month, I could crawl information from this Google Maps list before but cannot do so anymore
I'm having this issue with my Google Maps lists too. When I tried to scrape that Google Maps list, I saw these errors in the logs:
Errors: 2024-08-27T12:08:08.389Z WARN PuppeteerCrawler: Reclaiming failed request back to the list or queue. Operation failed. Error detail: Failed to extract public places list data: SyntaxError: Unexpected token u in JSON at position 0 2024-08-27T12:08:08.390Z at extractPublicPlacesListData (file:///home/myuser/dist/src/crawlers/utils.js:92:15) {"id":"BJBBUHdrJoT40dn","url":"https://www.google.com/maps/@38.8827376,19.8323117,3z/data=!4m6!1m2!10m1!1e1!11m2!2sXvdvME6wRfWDB3kQnXFOLw!3e3?entry=ttu&g_ep=EgoyMDI0MDgyMS4wIKXMDSoASAFQAw%3D%3D&hl=en","retryCount":1} 2024-08-27T12:08:14.766Z INFO [Status message]: You can check all currently scraped places laid out on a map on: https://api.apify.com/v2/key-value-stores/Dw4dd0hgXjZnJ1iN8/records/results-map
2024-08-27T12:09:51.817Z ERROR PuppeteerCrawler: Request failed and reached maximum retries. Error: Operation failed. Error detail: Failed to extract public places list data: SyntaxError: Unexpected token u in JSON at position 0 2024-08-27T12:09:51.818Z at extractPublicPlacesListData (file:///home/myuser/dist/src/crawlers/utils.js:92:15) 2024-08-27T12:09:51.818Z at enqueueAllPlaceDetails (file:///home/myuser/dist/src/enqueue_places.js:228:26) 2024-08-27T12:09:51.819Z at async ErrorSnapshotter.tryWithSnapshot (file:///home/myuser/dist/src/helper-classes/error-snapshotter.js:39:20) 2024-08-27T12:09:51.820Z at async file:///home/myuser/dist/src/places_crawler.js:31:9 2024-08-27T12:09:51.820Z at async wrap (/home/myuser/node_modules/@apify/timeout/index.js:52:21) {"id":"BJBBUHdrJoT40dn","url":"https://www.google.com/maps/@38.8827376,19.8323117,3z/data=!
https://console.apify.com/actors/nwua9Gu5YrADL7ZDj/runs/3DoHvXXRPkrSFSM4c#log
Hi,
We apologize for the inconvenience. There seems to be an issue with the URL being in a slightly different format than we expect, resulting in this error. We are working on a fix.
In the meantime, you should be able to use this modified URL for your run:
https://www.google.com/maps/@38.8827376,19.8323117,3z/data=!4m3!11m2!2sXvdvME6wRfWDB3kQnXFOLw!3e3?entry=ttu&g_ep=EgoyMDI0MDgyMS4wIKXMDSoASAFQAw%3D%3D
Thanks! In the future, if there's another issue with the URL how can I modify it to run?
Hey,
That is sadly not that easily answerable question since there are many edge cases. But for this particular case, I replaced the !4m6!1m2!10m1!1e1!11m2
part with !4m3!11m2
.
Hope that helps.
Thank you! Could you also help with modify this url as well?
Seems to having some trouble crawling the information.
I see that you reply in a separate message, thank you for the assistant!
- 2.9k monthly users
- 516 stars
- 98.7% runs succeeded
- 5.8 days response time
- Created in Nov 2018
- Modified about 7 hours ago