Takes html on stdin, find things in it, and print it to stdout
go install github.com/emillen/htmlfind@latest
Takes html on stdin, find things in it, and print it to stdout
Usage: htmlfind <command> [<args>]
Commands
text <css-selector> Return the text in the elements returned from the css-selector
attr [<attribute>] Return the value of the attributes
comments Return all HTML comments found in the documents