apify_animation_01_02
Actor picture

Example Process Crawl Results

apify/example-process-crawl-results

Example act that iterates through all results from a crawler run and counts them. The act shall be called from the crawler's finish webhook. To do so, simply add the following URL to the finish webhook of your crawler: https://api.apify.com/v2/acts/apify~example-process-crawl-results/runs?token=<YOUR_API_TOKEN> You can use this act as a starting point to develop custom post-processing of data from the crawler.

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/apify~example-process-crawl-results/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/apify~example-process-crawl-results/runs?token=<YOUR_API_TOKEN> \
-d '{ "_id": "YOUR_CRAWLER_RUN_ID" }' \
-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
  • Used12535 times