3 ms·
xmllint can do that: curl example.org | xmllint --html --xpath '//some/xpath/selector' -
by undume 4y ago
xmllint can do that:
curl example.org | xmllint --html --xpath '//some/xpath/selector' -
- jwilk 4y agoOnly if it's good old HTML 4. libxml2's parser doesn't grok HTML 5.