3 ms·
Just as an example: if you have go installed on your laptop, you can extract all the comments from this post as JSON by creating a file with curl https://new
by yoavm 2y ago
Just as an example: if you have go installed on your laptop, you can extract all the comments from this post as JSON by creating a file with
curl https://news.ycombinator.com/item?id=41695549
.comment
div > div
save it as comments.pipet and run `go run github.com/bjesus/pipet/cmd/pipet@latest --json comments.pipet`. Or run it with `--interval 60 --on-change "notify-send {} "` to periodically check for updates and call notify-send (on Linux) to get a notification when new a comment appears!