htmlcxx

Non-validating CSS1 and HTML parser library for C++

brewmacoslinux
Try with needOr install directly
Source

About

Non-validating CSS1 and HTML parser for C++

Commands

htmlcxx

Examples

Parse an HTML file and extract all links$ htmlcxx -c < input.html
Parse HTML and display the DOM tree structure$ cat input.html | htmlcxx
Extract text content from HTML by parsing with htmlcxx$ htmlcxx -s < webpage.html