Xidel is a command line tool to download and extract data from HTML/XML pages as well as JSON APIs. It also is an interpreter for the Turing-complete languages XPath/XQuery/JSONiq and a replacement for the wget/curl/sed/awk/jq/xmlstarlet/xpath tools.