Simon Willison’s Weblog

Subscribe

Friday, 14th February 2020

pup. This is a great idea: a command-line tool for parsing HTML on stdin using CSS selectors. It’s like jq but for HTML. Supports a sensible collection of selectors and has a number of output options for the selected nodes, including plain text and JSON. It also works as a simple pretty-printer for HTML.

# 4:25 pm / cli, html, parsing

2020 » February

MTWTFSS
     12
3456789
10111213141516
17181920212223
242526272829