mirror of
https://github.com/davidjohnbarton/crawler-google-places.git
synced 2025-12-12 16:38:45 +00:00
Added fixes
This commit is contained in:
parent
887c5aa084
commit
76ffb133b1
|
|
@ -8,7 +8,7 @@
|
||||||
"title": "Search",
|
"title": "Search",
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "String will be search on Google maps.",
|
"description": "String will be search on Google maps.",
|
||||||
"prefill": "New York Gym",
|
"prefill": "Gym",
|
||||||
"editor": "textfield"
|
"editor": "textfield"
|
||||||
},
|
},
|
||||||
"proxyConfig": {
|
"proxyConfig": {
|
||||||
|
|
|
||||||
|
|
@ -111,6 +111,7 @@ Apify.main(async () => {
|
||||||
const crawler = new Apify.PuppeteerCrawler({
|
const crawler = new Apify.PuppeteerCrawler({
|
||||||
launchPuppeteerOptions,
|
launchPuppeteerOptions,
|
||||||
requestQueue,
|
requestQueue,
|
||||||
|
retireInstanceAfterRequestCount: 10,
|
||||||
handlePageTimeoutSecs: 600,
|
handlePageTimeoutSecs: 600,
|
||||||
handlePageFunction: async ({ request, page }) => {
|
handlePageFunction: async ({ request, page }) => {
|
||||||
const { label } = request.userData;
|
const { label } = request.userData;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user