Actor

petr_cermak/execution-to-xlsx

  • Builds
  • latest 0.0.16 / 2017-10-26
  • Created 2017-09-20
  • Last modified 2018-09-12
  • grade 19

Description

The act takes a JSON input containing a crawler executionID, downloads the results and converts them to XLSX.


API

To run the actor, send a HTTP POST request to:

https://api.apify.com/v2/acts/petr_cermak~execution-to-xlsx/runs?token=<YOUR_API_TOKEN>

The POST payload will be passed as input for the actor. For more information, read the docs.


Example input

Content type: application/json; charset=utf-8

{ "hello": 123 }

Readme

act-execution-to-xlsx

The act takes a JSON input containing a crawler executionID, downloads the results and converts them to XLSX.

The JSON input should be in following format:

{_id: EXECUTION_ID}

This can also be used from a crawler finish webhook.

You can obtain the resulting XLSX URL from default OUTPUT value where it is stored as follows:

{output: RESULT_XLSX_URL}

The URL is also outputted in the log.