From 42a0735093d767bf2c802f935351cac1b134094c Mon Sep 17 00:00:00 2001 From: JakubDrobnik Date: Tue, 20 Nov 2018 15:50:56 +0100 Subject: [PATCH] Added proxy groups on input --- INPUT_SCHEMA.json | 8 ++++++++ README.md | 18 ++++++------------ 2 files changed, 14 insertions(+), 12 deletions(-) diff --git a/INPUT_SCHEMA.json b/INPUT_SCHEMA.json index 3677e96..15b2a6e 100644 --- a/INPUT_SCHEMA.json +++ b/INPUT_SCHEMA.json @@ -1,8 +1,16 @@ { "title": "Crawler for Google places", + "description": "This crawler search string on input on google maps and returns all information about found places.", "type": "object", "schemaVersion": 1, "properties": { + "proxyGoups": { + "title": "Proxy configuration", + "type": "object", + "description": "Optionaly use Apify Proxy", + "prefill": { "useApifyProxy": true }, + "editor": "proxy" + }, "searchString": { "title": "Search", "type": "string", diff --git a/README.md b/README.md index 49ccc8a..261db5b 100644 --- a/README.md +++ b/README.md @@ -1,22 +1,16 @@ # Crawler Google Places +This crawler search string on input on [google maps](https://www.google.com/maps) and returns all information about found places. -## Work in progress, TODOs: -- Input schema -- Proxy groups on input -- ESlint code -- Improve enqueuing details pages from listing - -## How to use +## How to use through API +How to use Actor from Apify UI see [actor detail page](https://www.apify.com/drobnikj/crawler-google-places). Example input: ```json { "searchString": "ČSOB", - "searchViewport": { - "lat": "50.0860729", - "lng": "14.4135326", - "zoom": 10 - } + "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