htmlq

htmlq#

jq-style CLI for HTML.

$ curl -s https://site | htmlq 'a' --attribute href
$ htmlq -t 'h1' < page.html