How to download text version of website?

0

How can I download the text version of a website? I need to do that using http raw protocol, e.g. telnet. However, I have no idea. Any hint?

kedar94

Posted 2015-04-24T17:34:36.927

Reputation: 1

1Welcome to Super User! More details are needed. Please tell us what you have researched and attempted to resolve this. Take a minute to read [ask] to improve your question. – CharlieRB – 2015-04-24T18:34:39.880

Answers

1

If the server still supports the original HTTP protocol version

telnet www.example.com 80 | tee page.txt
get /index.html

If the server manages several sites you'll need to preceed the request with a host header.

For more recent versions of HTTP you'll need to do some other stuff. The RFCs are a useful resource.

RedGrittyBrick

Posted 2015-04-24T17:34:36.927

Reputation: 70 632