Fetch and Parse HTML Web Page Content From Bash. Wow.
Posted by: Matt in Linux / OS X Newbie Tips, tags: bash, command-line, curl, html, linux, parse, shell, terminal, w3mOkay, this is another one of those linux newbie posts where I tried to figure out how to do something that’s probably really obvious to all you seasoned hackers out there.
Anyway here I go clogging up the internet with a post that somebody, somewhere will hopefully find useful.
Are you that person? Well… have you ever used the shell command curl to fetch a web page? It’s cool, isn’t it, but you do end up with a splurge of ugly HTML tags in your terminal shell:

Eugh!
So… how about we parse that HTML into something human-readable?