Extract HTML content using CSS selectors from the command line.
Uses CSS selectors to extract bits content from HTML files
htmlq$ curl https://example.com | htmlq 'a' --attr href$ htmlq '.article-title' index.html$ cat page.html | htmlq 'div.product' --text$ htmlq 'img' --attr src,alt file.html$ htmlq 'section > article:nth-child(2) p' document.html