3 ms·
I have not used Lynx interactively in ages, but when I want to save some pages of text from somewhere (typically an old web forum thread or blog) I often call l
by 2mlWQbCK 2y ago
I have not used Lynx interactively in ages, but when I want to save some pages of text from somewhere (typically an old web forum thread or blog) I often call lynx -dump (followed by gzip) from a script. It is an easy way to get nicely formatted text with all the HTML nonsense removed, and it also includes a list of all links from the page. Not exactly what a real archivist would do, but it works for hoarding text.
- atiedebee 2y agoI did not know that it had that feature, and having just tried it out it does work really well. Its output kind of reminds me of the gemini protocol and its markup format[0], [0]: https://geminiprotocol.net/ https://geminiprotocol.net/
- aghilmort 2y agothat is very useful information -- does it work with sites that need logins?
- geye1234 2y agoThat is amazing, and just what I've been looking for to archive blogs and comments. Thanks so much!
- somat 2y agoI use that with mutt to view html formatted email. here is the 30 second tutorial. In .mailcap include the line text/html; lynx -dump -width=78 %s | sed 's/^ //'; copiousoutput; needsterminal; nametemplate=%s.html in .muttrc include the line auto_view text/html