crawler-google-places/README.md
2018-11-20 15:29:46 +01:00

28 lines
725 B
Markdown

# Crawler Google Places
## Work in progress, TODOs:
- Input schema
- Proxy groups on input
- ESlint code
- Improve enqueuing details pages from listing
## How to use
Example input:
```json
{
"searchString": "ČSOB",
"searchViewport": {
"lat": "50.0860729",
"lng": "14.4135326",
"zoom": 10
}
}
```
On this input actor searches places on this start url: https://www.google.com/maps/search/%C4%8Dsob/@50.0860729,14.4135326,10z
- `searchString` - String will be search on Google maps
- `lat` - Viewport latitude
- `lng` - Viewport longitude
- `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,10z