apify_animation_01_02
Actor picture

Artem shypulya ๐Ÿ‡ฉ๐Ÿ‡ช

artemshypulya/artemshypulya

To run the actor, you'll need an Apify account. Simply create a new task for the actor by clicking the button below, modify the actor input configuration, click Run and get your results.

API

To run the actor from your code, send a HTTP POST request to the following API endpoint:

https://api.apify.com/v2/acts/artemshypulya~artemshypulya/runs?token=<YOUR_API_TOKEN>

The POST payload including its Content-Type header is passed as INPUT to the actor (usually application/json). The actor is started with the default options; you can override them using various URL query parameters.

Example
curl https://api.apify.com/v2/acts/artemshypulya~artemshypulya/runs?token=<YOUR_API_TOKEN> \
-d '{
    "title": "Cheerio Crawler input",
    "description": "To update crawler to another site you need to change startUrls and pageFunction options!",
    "type": "object",
    "schemaVersion": 1,
    "properties": {
        "startUrls": {
            "title": "Start URLs",
            "type": "array",
            "description": "URLs to start with",
            "prefill": [
                { "url": "http://example.com" },
                { "url": "http://example.com/some-path" }
            ],
            "editor": "requestListSources"
        },
        "pageFunction": {
            "title": "Page function",
            "type": "string",
            "description": "Function executed for each request",
            "prefill": "async () => {\n  return $('title').text();\n\n}",
            "editor": "javascript"
        }
    },
    "required": ["startUrls", "pageFunction"]
}' \
-H 'Content-Type: application/json' \
-X POST

To use the API, you'll need to replace <YOUR_API_TOKEN> with the API token of your Apify account (view here).

For more information, view the list of actor's API endpoints or the full API reference.

  • Modified
  • Last run
  • Used5 times