A command-line tool to extract HTML using CSS selectors.
AGPL-3.0-or-later
```sh
curl -s https://example.org | select-html
--file
.select-html --file 'example.html'
select-html 'title'
select-html '.example' --text
select-html '[property^="og:"]' -a 'property' -a 'content' ```
You can download a precompiled executable from the [GitHub Releases] page, or install via [crates.io] (cargo install select-html
).
--help
```
USAGE:
select-html [OPTIONS]
ARGS:
OPTIONS:
-a, --attribute