Hacker News new | ask | show | jobs
by ptwt 3704 days ago
I put this similar project[0] together a while ago. Almost the same concept, but I skipped the json layer altogether as I just wanted a quick way of getting nuggets of content from webpages into my terminal.

For example:

  curl https://news.ycombinator.com/news | tq -tj ".title a"
0. https://github.com/plainas/tq
1 comments

That's awesome. Like jq but for html.