mirror of
https://github.com/davidjohnbarton/crawler-google-places.git
synced 2025-12-12 08:28:46 +00:00
Scrape information about places from Google Maps. Gives you extra information that you can't get using the Google Places API.
Récupérez des informations sur des lieux à partir de Google Maps. Vous obtenez ainsi des informations supplémentaires que vous ne pouvez pas obtenir à l'aide de l'API Google Places.
Acteur Apify qui semble être celui utilisé par Compass.
https://www.apify.com/drobnikj/crawler-google-places https://apify.com/compass/crawler-google-places
| src | ||
| .eslintrc | ||
| .gitignore | ||
| apify.json | ||
| Dockerfile | ||
| INPUT_SCHEMA.json | ||
| package-lock.json | ||
| package.json | ||
| README.md | ||
Crawler Google Places
Get data from Google Places, which official Google Maps Places API does not provide.
Why?
You can use official Google Maps Places API, it is better way for the most use cases. But API doesn't provide:
- Popular place times histogram
- Place reviews (you can get up to 5 reviews from official API)
- Place photos (you can can up to 10 photos from official API)
INPUT
Follow guide on actor detail page to see how it works.
Example input:
{
"searchString": "pubs near prague",
"lat": "50.0860729",
"lng": "14.4135326",
"zoom": 10
}
On this input actor searches places on this start url: https://www.google.com/maps/search/pubs+near+prague/@50.0860729,14.4135326,10z
searchString- String will be search on Google mapsproxyConfig- Apify proxy configurationlat- Use it with combination with longitude and zoom to set up viewport to search on.lng- Use it with combination with latitude and zoom to set up viewport to search on.zoom- Viewport zoom, e.g zoom: 10 -> https://www.google.com/maps/@50.0860729,14.4135326,10z vs zoom: 1 -> https://www.google.com/maps/@50.0860729,14.4135326,10zmaxCrawledPlaces- Limit places you want to get from crawler
OUTPUT
Once the actor finishes, it outputs results to actor default dataset.