From 420ceb49b53a8fa9d8ba8443e42e50cd7bd7cea9 Mon Sep 17 00:00:00 2001 From: Philip Wittamore Date: Sun, 12 Jul 2026 11:08:50 +0200 Subject: update --- .../2023/newsboat-strip-junk-from-web-pages.html | 46 ++++++++++++++++++++++ 1 file changed, 46 insertions(+) create mode 100755 articles/2023/newsboat-strip-junk-from-web-pages.html (limited to 'articles/2023/newsboat-strip-junk-from-web-pages.html') diff --git a/articles/2023/newsboat-strip-junk-from-web-pages.html b/articles/2023/newsboat-strip-junk-from-web-pages.html new file mode 100755 index 0000000..d3ea26f --- /dev/null +++ b/articles/2023/newsboat-strip-junk-from-web-pages.html @@ -0,0 +1,46 @@ + + + + + + + Bloggings + + +
+

Bloggings

+ Back + +
+ +
+
+

Newsboat: Strip junk from webpages

+

17-11-2023

+

+ Install Python readability +

+ yay -S python-readability-lxml +

+ Test output +

+ + python3 \ -m readability.readability -u \ 'https://www.servethehome.com/amd-psb-vendor-locks-epyc-cpus-for-enhanced-security-at-a-cost/' \ 2> /dev/null \ 1> output.html + +

+ In ~/.newsboat/config +

+ set macro - french keyboard comma semicolon is practical +

+ + macro ; set browser "python3 -m readability.readability -u %u 2> /dev/null | w3m -T text/html"; open-in-browser ; set browser "w3m %u" + +

+ Source +

+ +
+
+ + -- cgit v1.3.1