$echo '{
< "startUrls": [
< {
< "url": "https://crawlee.dev"
< }
< ],
< "maxCrawlingDepth": 1,
< "maxRequestsPerCrawl": 1,
< "requestTimeout": 30,
< "linkSelector": "a[href]",
< "linkPatterns": [
< ".*crawlee\\\\.dev.*"
< ],
< "pageFunction": "from typing import Any\\nfrom crawlee.crawlers import PlaywrightCrawlingContext\\n \\nasync def page_function(context: PlaywrightCrawlingContext) -> Any:\\n url = context.request.url\\n title = await context.page.locator(\\"title\\").first.inner_text()\\n return {'\''url'\'': url, '\''title'\'': title}\\n",
< "proxyConfiguration": {
< "useApifyProxy": true
< }
<}' |
<apify call josef.prochazka/camoufox-scraper --silent --output-dataset