Act

jancurn/pdf-to-html

  • Builds
  • latest 0.0.6 / 2017-11-02
  • Created 2017-11-02
  • Last modified 2017-11-02
  • grade 6

Description

Fetches a PDF file from a specific URL and converts it to a HTML document using the pdf2htmlEX tool. The input is a JSON object such as: { "url": "https://www.example.com/some-file.pdf" } Output is a HTML file.


API

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

https://api.apify.com/v2/acts/jancurn~pdf-to-html/runs?token=<YOUR_API_TOKEN>

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


Example input

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

{
    "url": "http://www.ripuc.org/utilityinfo/electric/NPP_List.pdf"
}

Readme

Simple act that fetches a PDF file from a specific URL and converts it to HTML document.