hav aims to be the easiest way to work with HTML attributes on the command line.
curl https://hav.amorris.ca/ | hav .header
curl https://hav.amorris.ca/ | hav ^pre text
curl https://hav.amorris.ca/ | hav ^h2 name
curl https://hav.amorris.ca/ | hav ~why text
curl https://hav.amorris.ca/ | hav ~usage text
curl https://amorris.ca/launch/ | hav ^a href
curl https://amorris.ca/launch/ | hav ^a id
curl https://amorris.ca/launch/ | hav music href