If I try wget on a webpage, I am getting the page as html. Is it possible to retrieve only text of a file without associated html ? (This is required for me since some of the HTML pages contains c program is getting downloaded with html tags. I have to open it in browser and manually copy the text to make a .c file.)
|
You could, for example, use
As mentioned by @Thor, Also, keep in mind that, unless the page is really just C code with HTML tags, you will need to check the result, just to make sure there's nothing more than C code there. |
||||
.c. It is not hard, but it depends on page structure. If you provide a link may be somebody will help you with exact code. Otherwisesedorperlare your friends. – rush Jul 9 '12 at 8:28