Apify Actor Domain Input Troubleshooting Guide
Hey, Can you please have a lot at this table: https://app.clay.com/workspaces/349620/workbooks/wb_2UMetbkw9uuk/tables/t_YsGt2h2AbpgC/views/gv_Z4aJukiDFRio I try to input in apify actor a domain This is what i tested and it worked:
{
"aggressivePrune": false,
"clickElementsCssSelector": "[aria-expanded=\"false\"]",
"clientSideMinChangePercentage": 15,
"crawlerType": "cheerio",
"debugLog": false,
"debugMode": false,
"expandIframes": true,
"ignoreCanonicalUrl": false,
"includeUrlGlobs": [
{
"glob": ""
}
],
"keepUrlFragments": true,
"maxCrawlPages": 500,
"proxyConfiguration": {
"useApifyProxy": true
},
"readableTextCharThreshold": 100,
"removeCookieWarnings": true,
"removeElementsCssSelector": "nav, footer, script, style, noscript, svg,\n[role=\"alert\"],\n[role=\"banner\"],\n[role=\"dialog\"],\n[role=\"alertdialog\"],\n[role=\"region\"][aria-label*=\"skip\" i],\n[aria-modal=\"true\"]",
"renderingTypeDetectionPercentage": 10,
"saveFiles": false,
"saveHtml": false,
"saveHtmlAsFile": false,
"saveMarkdown": true,
"saveScreenshots": false,
"startUrls": [
{
"url": "https://onepilot.co/", // NOT using dynamic, Tested and send it from clay like this and it worked.
"method": "GET"
}
],
"useSitemaps": true
}
When I add it with dynamic domain I keep getting this error:
{
"error": {
"type": "invalid-input",
"message": "Cannot parse input JSON body: Bad control character in string literal in JSON at position 615"
}
}
I tried :
{
"startUrls": [
{
"url": "{domainInput}",
"method": "GET"
}
]
}
and
{
"startUrls": [
{
"url": {domainInput},
"method": "GET"
}
]
}
and
{
"startUrls": [
{
"url": "${domainInput}",
"method": "GET"
}
]
}
Can you please help me with this ? Thanks