gethtml - Get HTML of javascript based web page

gethtml load given web page, scroll down a number of times and wait until javascript loaded, then save HTML.

(no tags)

Algorithmia Platform License · Internet Access

Run an Example

Install & Use

Use

curl -X POST -d '{
  "url": "https://www.huffingtonpost.com/entry/apple-new-iphone-x_us_59b809f9e4b027c149e2dbe0",
  "scroll": 5,
  "injectJsFile": "data://magicanded/public/gethtml-inject.js"
}' -H 'Content-Type: application/json' -H 'Authorization: Simple YOUR_API_KEY' https://api.algorithmia.com/v1/algo/magicanded/gethtml/0.2.18