I download a HTML file using
wget command. I convert it into a text file using
wget -q0- www.example.com w3m -dump index.html
I want to use only basic commands like
curl, etc. without installing any additional packages like
html2text to convert HTML to text. Can you suggest some commands to do the same?
Any other method to get text of a webpage using basic commands are also appreciated.