Htmlq
lastmod 2021-09-09created 2021-09-091 edits
Features
- CLI tool that extracts content from HTML files using CSS selectors
- Open source, written in Rust
Examples
-
curl URL | htmlq '#get-help' - Find by ID
-
htmlq --attribute href a - Extract all links
-
htmlq --text .main - Extract text