I was going to ask how do you find the HTML element in which the main article content is from the URL, but it seems you're calling https://mercury.postlight.com/
Yes, for now I'm relying on mercury to do the job. I tried out some readability packages, and they worked pretty well, so I think I'm going to replace the dependency on mercury with a built-in readability package pretty soon.
This makes me happy. I have the habit of using lynx for reading articles in the terminal, which is less than ideal given it also renders all the cruft in the page as well. This project suits that use case much more. Two features that would be ideal are searching within the document and configurable navigation (ie so I can use vim keyboard shortcuts for example).
Edit; oh I see, it pipes the output to less, very clever!
9 comments
[ 2.4 ms ] story [ 29.9 ms ] threadE.g. [publication by the New York Times](https://www.nytimes.com/2017/07/11/us/politics/trump-russia-...) -> publication by the New York Times
Edit; oh I see, it pipes the output to less, very clever!
I'm actually surprised to see that quite a few people find it useful, I had no idea there was such a small gap to fill with such a simple tool.