HACKER Q&A
📣 foothebar

How to filter out HN news by URL


Is there a way to automatically filter out some entries, based on their URL? e.g. to not see that silly wikipedia article entries, or to block paywalled sites like ft.com?


  👤 anigbrowl Accepted Answer ✓
HN has a pretty straightforward API, so you could write a local (or web-based) client in any common language and add filters as you see fit.

https://github.com/HackerNews/API


👤 k310
I second the idea of trying to bypass paywalls. Archive today ( https://wiki.archiveteam.org/index.php/Archive.today ) notably archive.is and similar, work reliably.

One can often bypass paywalls, nag walls, etc with Safari Reader, bypass paywalls clean extension for Firefox and Chrome (Opera uses the chrome engine) or disabling JavaScript for selected sites. I use Sheriff on iOS to do this. Other extensions will do this, I am sure.

---

Twitter links are often posted here, and without an account there, you can only see tho OP.

Discussion of workarounds here:

https://news.ycombinator.com/item?id=39151768

There is concern that nitter.net may flake.


👤 jdelman
Wikipedia entries are some of my favorite HN front page entries because it’s always a mystery to me as to which ones pop up and which don’t (I’ve submitted a few that didn’t make it). Try archive.is to bypass paywalled articles.

👤 CrypticShift
There are some userscript filters you can customize : https://greasyfork.org/en/scripts?q=hacker+news+filter

Not a filter, but this one "bypass" paywalled links https://github.com/MostlyEmre/hn-anti-paywall