pup is a delightful little command-line utility that lets you parse HTML (github.com)
Think jq but for HTML/DOM. If you wanted to get all the post titles on this log, curl -s -o - https://log.nikhil.io/ | gunzip - | pup "header > h2 > a" text{} Lovely stuff.…