3 ms·
Speaking of one liners... is there a way to get w3m or lynx to print a PRETTY formatted output to the console and exit? Seems all the dump commands are for plai
by z5h 5y ago
Speaking of one liners... is there a way to get w3m or lynx to print a PRETTY formatted output to the console and exit? Seems all the dump commands are for plain text. Hoping someone here knows as this arcane knowledge doesn’t seem to exist elsewhere.
- tyingq 5y agoI get decent output by using headless chrome to dump to a pdf, then pdftotext (from poppler-utils) to format that as text. google-chrome --headless --disable-gpu --print-to-pdf=out.pdf https://www.cnn.com pdftotext -layout -nopgbrk out.pdf - | less