Added fixes

This commit is contained in:
JakubDrobnik 2018-11-20 19:48:04 +01:00
parent 887c5aa084
commit 76ffb133b1
2 changed files with 2 additions and 1 deletions

View File

@ -8,7 +8,7 @@
"title": "Search",
"type": "string",
"description": "String will be search on Google maps.",
"prefill": "New York Gym",
"prefill": "Gym",
"editor": "textfield"
},
"proxyConfig": {

View File

@ -111,6 +111,7 @@ Apify.main(async () => {
const crawler = new Apify.PuppeteerCrawler({
launchPuppeteerOptions,
requestQueue,
retireInstanceAfterRequestCount: 10,
handlePageTimeoutSecs: 600,
handlePageFunction: async ({ request, page }) => {
const { label } = request.userData;