mirror of
https://github.com/davidjohnbarton/crawler-google-places.git
synced 2025-12-12 16:38:45 +00:00
Added console logs for crawler info
This commit is contained in:
parent
48cf0e1596
commit
cf346fb7bc
26
README.md
26
README.md
|
|
@ -1,2 +1,28 @@
|
||||||
# Crawler Google Places
|
# 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
|
||||||
|
- `searchViewport` - Object where user can define start view port for searching (Google will search places in this area)
|
||||||
|
- `searchViewport.lat` - Viewport latitude
|
||||||
|
- `searchViewport.lng` - Viewport longitude
|
||||||
|
- `searchViewport.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
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user