tools
tq
Our great sponsors
tools | tq | |
---|---|---|
2 | 1 | |
16 | 234 | |
- | - | |
9.4 | 0.0 | |
2 days ago | over 1 year ago | |
Shell | Python | |
GNU Affero General Public License v3.0 | MIT License |
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.
tools
-
Ask HN: Share a shell script you like
my collection: https://github.com/bAndie91/tools/tree/master/user-tools
-
Like JQ, but for HTML
parsel[0] is a python script in front of the identically named python lib, and extracts parts of the HTML by CSS selector. the advantage of it compared to most similar tools is that you can navigate in the DOM tree up and down to find precisely what you want if the HTML is poorly marked up, or the searched parts are not close to each other.
[0] https://github.com/bAndie91/tools/blob/master/usr/bin/parsel
tq
-
Like JQ, but for HTML
It did write it a few years ago.
https://github.com/plainas/tq
What are some alternatives?
xidel - Command line tool to download and extract data from HTML/XML pages or JSON-APIs, using CSS, XPath 3.0, XQuery 3.0, JSONiq or pattern matching. It can also create new or transformed XML/HTML/JSON documents.
lol-html - Low output latency streaming HTML parser/rewriter with CSS selector-based API
htmlq - Like jq, but for HTML.
hq - lightweight command line HTML processor using CSS and XPath selectors
pup - Parsing HTML at the command line
cascadia - Go cascadia package command line CSS selector
yq - Command-line YAML, XML, TOML processor - jq wrapper for YAML/XML/TOML documents
fontpreview - Highly customizable and minimal font previewer written in bash
jsoup - jsoup: the Java HTML parser, built for HTML editing, cleaning, scraping, and XSS safety.
google-images-download - Python Script to download hundreds of images from 'Google Images'. It is a ready-to-run code!