News for hackers. Stuff that matters.
Re:pup: Parsing HTML at the Command Line by undume on Wednesday November 30, 2022 @03:08PM (#33806886)
xmllint can do that:

  curl example.org | xmllint --html --xpath '//some/xpath/selector' -
Re:pup: Parsing HTML at the Command Line by jwilk on Thursday December 01, 2022 @06:32AM (#33814969)
Only if it's good old HTML 4. libxml2's parser doesn't grok HTML 5.