EricChiang/pup · GitHub
mardi 23 septembre 2014 à 15:46nexen, le 23/09/2014 à 15:46
pup is a command line tool for processing HTML. It reads from stdin, prints to stdout, and allows the user to filter parts of the page using CSS selectors.
Usage:
curl https://news.ycombinator.com/ | pup table td.title a attr{href}
curl https://news.ycombinator.com/ | pup table td.title a text{}
(Permalink)
pup is a command line tool for processing HTML. It reads from stdin, prints to stdout, and allows the user to filter parts of the page using CSS selectors.
Usage:
curl https://news.ycombinator.com/ | pup table td.title a attr{href}
curl https://news.ycombinator.com/ | pup table td.title a text{}
(Permalink)