Web Scraper Experimental Debug avatar

Web Scraper Experimental Debug

Try for free

No credit card required

View all Actors
Web Scraper Experimental Debug

Web Scraper Experimental Debug

mtrunkat/web-scraper-experimental-dbgr
Try for free

No credit card required

Experimental version of Apify Web Scraper with Chrome debugger integrated

You can access the Web Scraper Experimental Debug programmatically from your own applications by using the Apify API. You can choose the language preference from below. To use the Apify API, you’ll need an Apify account and your API token, found in Integrations settings in Apify Console.

1echo '{
2  "startUrls": [
3    {
4      "url": "https://apify.com"
5    }
6  ],
7  "pseudoUrls": [
8    {
9      "purl": "https://apify.com[(/[\\\\w-]+)?]"
10    }
11  ],
12  "linkSelector": "a",
13  "pageFunction": "async function pageFunction(context) {\\n    // See README for context properties. If the syntax is unfamiliar see the link\\n    // https://javascript.info/destructuring-assignment#object-destructuring\\n    const { request, log, jQuery } = context;\\n\\n    // To be able to use jQuery as $, one needs save it into a variable\\n    // and select the inject jQuery option. We'\''ve selected it for you.\\n    const $ = jQuery;\\n    const title = $('\''title'\'').text();\\n\\n    // This is yet another new feature of Javascript called template strings.\\n    // https://javascript.info/string#quotes\\n    log.info(`URL: ${request.url} TITLE: ${title}`);\\n\\n    // To save data just return an object with the requested properties.\\n    return {\\n        url: request.url,\\n        title\\n    };\\n}",
14  "proxyConfiguration": {
15    "useApifyProxy": false
16  },
17  "initialCookies": [],
18  "waitUntil": [
19    "networkidle2"
20  ],
21  "customData": {}
22}' |
23apify call mtrunkat/web-scraper-experimental-dbgr --silent --output-dataset

Web Scraper Experimental Debug API through CLI

The Apify CLI is the official tool that allows you to use Web Scraper Experimental Debug locally, providing convenience functions and automatic retries on errors.

Install the Apify CLI

1npm i -g apify-cli
2apify login

Other API clients include:

Developer
Maintained by Community
Actor metrics
  • 3 monthly users
  • 3 stars
  • 100.0% runs succeeded
  • Created in Oct 2019
  • Modified over 3 years ago