hq
lightweight command line HTML processor using CSS and XPath selectors (by ludovicianul)
xpe
Finally, a commandline xpath tool for linux that is easy to use. (by charmparticle)
hq | xpe | |
---|---|---|
8 | 8 | |
64 | 26 | |
- | - | |
5.2 | 0.0 | |
7 months ago | over 1 year ago | |
Shell | Python | |
MIT License | BSD 3-clause "New" or "Revised" License |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
hq
Posts with mentions or reviews of hq.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-11-30.
-
pup: Parsing HTML at the Command Line
This has support for both XPath and CSS selectors: https://github.com/ludovicianul/hq
- Hq – like htmlq and XPath support
- hq - like jq, but for HTML
- Hq – Like Jq for HTML
- hq - command line HTML processor built with Quarkus and compiled to native using GraalVM
- hq: lightweight grep for HTML using CSS selectors
- Hq – a lightweight HTML grep-er
- Like JQ, but for HTML
xpe
Posts with mentions or reviews of xpe.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-11-30.
- pup: Parsing HTML at the Command Line
- xpe: A commandline xpath parser that is easy to use.
-
What are some useful cli tools that arent popular?
xpe - a commandline xpath parser. xpaths are better than css queries for getting at specific html elements in the DOM. Compared to other parsers, this one is easier to use, and supports html.
-
Tell ONE terminal app you use everyday but no one seems know about the app
I use the heck out of xpe. It's a super simple command-line xpath parser using lxml in python.
-
htmlq - like jq, but for HTML
If you like xmllint, you might like xpe. It's more user-friendly.
-
What tools / utilities have you written that you use regularly?
xpe - a commandline xpath parser. I made this after trying to use xpaths for web automation in bash, and not finding anything that worked.
-
A list of command line tools for manipulating structured text data
For commandline xpath parsing for simple commandline web automation, xpe is pretty handy. It's a real simple python script, but it scratches that itch, and it's only a pip install away.
What are some alternatives?
When comparing hq and xpe you can also consider the following projects:
lol-html - Low output latency streaming HTML parser/rewriter with CSS selector-based API
pup - Parsing HTML at the command line
ProtonUpdater - Script to make it easier to update Proton GE to the latest version
htmlq - Like jq, but for HTML.
escaperoom - Command line utility to generate/host a fully functioning virtual escape room from a JSON config.
yq - Command-line YAML, XML, TOML processor - jq wrapper for YAML/XML/TOML documents
focus - A fully featured productivity timer for the command line, based on the Pomodoro Technique. Supports Linux, Windows, and macOS.
tq - Perform a lookup by CSS selector on an HTML input
pandoc - Universal markup converter
cascadia - Go cascadia package command line CSS selector