pigshell - unix the web
Resources on the web are represented as files in a hierarchical file system. These include public web pages as well as your data on Facebook, Google drive and Picasa albums. Construct pipelines of simple unix-style commands to filter, transform and display your files.
hgrep is a Unix CLI tool which lets you select elements with jQuery/CSS syntax and print either the HTML serialization of the selection, or a specified attribute of each element, or their text representation.
For example, to print all the story links from the HN front page:
curl -s https://news.ycombinator.com | hgrep -a href ".athing .title > a"