tomas@tuxteam.de (tomas@tuxteam.de) wrote:
To expand on that, perhaps
wget -O - <your URL here> | html2text
tries to make sense of the html (which isn't always possible) and
output some text version of it. The "-O -" tells wget to send its
output to stdout (instead of to a file).
You get html2text from the like-named package, html2text.
There are several other variants on this, depending on what's installed.
One of the most common (oldest) ones is lynx -dump "$url".
Most of the terminal-based web browsers have a similar output mode, I
think.