Skip to content

qretaio/html2json

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

html2json

A Rust port of cheerio-json-mapper.


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
html2json examples/hn.html examples/hn.json

LICENSE

MIT

About

Extract json data from html given a extractor spec

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published