html2json 0.1.0

HTML to JSON extractor using html5ever
Documentation

html2json - Requirements Specification

A Rust port of cheerio-json-mapper using html5ever for HTML parsing.


Overview

  • Input: HTML source (URL or file path) + Extractor spec (JSON file)
  • Output: JSON matching the structure defined in the spec

Examples

html2json "https://news.ycombinator.com/" examples/hn.json

LICENSE

MIT