My Actor 32 avatar

My Actor 32

Under maintenance
Try for free

Pay $1.00 for 1,000 results

Go to Store
This Actor is under maintenance.

This Actor may be unreliable while under maintenance. Would you like to try a similar Actor instead?

See alternative Actors
My Actor 32

My Actor 32

honzakirchner43/my-actor-32
Try for free

Pay $1.00 for 1,000 results

You can access the My Actor 32 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  "runMode": "DEVELOPMENT",
3  "startUrls": [
4    {
5      "url": "https://apify.com"
6    }
7  ],
8  "globs": [],
9  "linkSelector": "a[href]",
10  "pseudoUrls": [
11    {
12      "purl": "https://apify.com[(/[\\\\w-]+)?]"
13    }
14  ],
15  "pageFunction": "// The function accepts a single argument: the \\"context\\" object.\\n// For a complete list of its properties and functions,\\n// see https://apify.com/apify/web-scraper#page-function \\nasync function pageFunction(context) {\\n    // This statement works as a breakpoint when you'\''re trying to debug your code. Works only with Run mode: DEVELOPMENT!\\n    // debugger; \\n\\n    // jQuery is handy for finding DOM elements and extracting data from them.\\n    // To use it, make sure to enable the \\"Inject jQuery\\" option.\\n    const $ = context.jQuery;\\n    const pageTitle = $('\''title'\'').first().text();\\n\\n    // Print some information to actor log\\n    context.log.info(`URL: ${context.request.url}, TITLE: ${pageTitle}`);\\n\\n    // Manually add a new page to the queue for scraping.\\n   await context.enqueueRequest({ url: '\''http://www.example.com'\'' });\\n\\n    // Return an object with the data extracted from the page.\\n    // It will be stored to the resulting dataset.\\n    return {\\n        url: context.request.url,\\n        pageTitle\\n    };\\n}",
16  "proxyConfiguration": {
17    "useApifyProxy": true
18  },
19  "initialCookies": [],
20  "waitUntil": [
21    "networkidle2"
22  ],
23  "preNavigationHooks": "// We need to return array of (possibly async) functions here.\\n// The functions accept two arguments: the \\"crawlingContext\\" object\\n// and \\"gotoOptions\\".\\n[\\n    async (crawlingContext, gotoOptions) => {\\n        // ...\\n    },\\n]\\n",
24  "postNavigationHooks": "// We need to return array of (possibly async) functions here.\\n// The functions accept a single argument: the \\"crawlingContext\\" object.\\n[\\n    async (crawlingContext) => {\\n        // ...\\n    },\\n]",
25  "breakpointLocation": "NONE",
26  "customData": {}
27}' |
28apify call honzakirchner43/my-actor-32 --silent --output-dataset

My Actor 32 API through CLI

The Apify CLI is the official tool that allows you to use My Actor 32 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

  • 1 monthly user

  • 1 star

  • 59% runs succeeded

  • Created in May 2024

  • Modified 12 days ago

Categories