Turns an HTML page to a JSON
Depth first search the enite HTML page and saves only the valid HTML elements.
- nodejs
- request
- request-promise
- node-html-parser
Initialize the module:
const scraper = require('scraper');
Use the toJSON method passing a valid URL:
const json = scraper.toJSON('your url here')