http://www.perlmonks.org?node_id=488037


in reply to How can I download HTML and save it as txt?

lwp-request -m get -o text http://myfoo.com >myfile.txt