2 ms·
I 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
by tyingq 6y ago
I 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