ekhtml

Forgiving SAX-style HTML parser for robust HTML document processing

brewmacoslinux
Try with needOr install directly
Source

About

Forgiving SAX-style HTML parser

Commands

ekhtml

Examples

Parse an HTML file and output the parsed structure$ ekhtml input.html
Parse HTML from stdin and process with SAX-style events$ cat document.html | ekhtml
Parse malformed HTML and recover gracefully$ ekhtml broken.html > output.xml