4 ms·
I found these the other day and I wonder how these have largely slipped under the radar. Of particular interest is hxpipe and hxunpipe which makes "scraping" ta
by TheZenPsycho 13y ago
I found these the other day and I wonder how these have largely slipped under the radar. Of particular interest is hxpipe and hxunpipe which makes "scraping" tasks absurdly easy, by converting html to a form easily manipulatable by sed, grep and other fun unix utilities.
update:
tracking the score of this post on the front page using this:
curl -s https://news.ycombinator.com/news | hxnormalize | hxpipe | grep -C 20 "TheZenPsycho" | grep points
-9\n points
- agumonkey 13y agoTangentially : I liked the style of their c code.
- vdm 13y ago> how these have largely slipped under the radar Your single example sells this more effectively than the entire OP. cf. http://bost.ocks.org/mike/example/ http://bost.ocks.org/mike/example/
- Thiz 13y agoThat site is inspiring. How many wonderful things can be built with the right mix of technology and passion. Thanks for sharing.
- mixmastamyk 13y agoYou might like to try httpie in place of curl: https://pypi.python.org/pypi/httpie/ For example: http --body https://news.ycombinator.com/news | hxnormalize ...