News for hackers. Stuff that matters.
Re:pup: Parsing HTML at the Command Line by wmichelin on Wednesday November 30, 2022 @02:16PM (#33806050)
Why? CSS selectors are the normal web developer way to select content from a document. Even JavaScript adopted the approach.
Re:pup: Parsing HTML at the Command Line by tuukkah on Wednesday November 30, 2022 @03:30PM (#33807188)
XPath supports more complex queries. In JavaScript, XPath is available as document.evaluate