$echo '{
< "startUrls": [
< {
< "url": "https://apify.com"
< }
< ],
< "pseudoUrls": [
< {
< "purl": "https://apify.com[(/[\\\\w-]+)?]"
< }
< ],
< "linkSelector": "a",
< "proxyConfiguration": {
< "useApifyProxy": false
< },
< "customData": {},
< "pageFunction": "async function pageFunction(context) {\\n const { page, request, log } = context;\\n const title = await page.title();\\n log.info(`URL: ${request.url} TITLE: ${title}`);\\n return {\\n url: request.url,\\n title\\n };\\n}",
< "preGotoFunction": "async function preGotoFunction({ request, page, Apify }) {\\n /* add your pre-navigation logic here, if needed */\\n}",
< "initialCookies": [],
< "waitUntil": [
< "networkidle2"
< ]
<}' |
<apify call barry8schneider/puppeteer20191228 --silent --output-dataset