xidel
tools
Our great sponsors
xidel | tools | |
---|---|---|
18 | 2 | |
650 | 16 | |
- | - | |
5.9 | 9.4 | |
5 months ago | 6 days ago | |
Pascal | Shell | |
GNU General Public License v3.0 only | GNU Affero General Public License v3.0 |
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.
xidel
-
Move over jq I found something easier: fx
You could try Xidel[1]. It supports JSON, XML and HTML using XPath/XQuery 3.1
It has some extensions to the standard that are pretty nice (JSONiq, CSS selectors, html “template” matching), but you can limit it to just standard XPath/XQuery if you like.
I recommend getting the nightly v .99 build if you give it a try, the stable .98 version is pretty old and I’ve had no issues with .99
-
Batch Win Installer - from a defined list of software, BWI will install software on 64 bit Windows 10/11 x64 machine without prompts ; check what software is installed and offer to install and/or upgrade software and scan program's websites to determine the latest version of the software available
Windows binary of Xidel (https://github.com/benibela/xidel) a commandline tool to download and extract data from HTML pages
- pup: Parsing HTML at the Command Line
- Remove white spaces from last column of CSV
-
What's the best tool to build pipelines from REST APIs?
Xidel for extraction and pagination
-
What are your coolest tools for one-liners ?
Download an entire subreddit to JSON Lines with Xidel:
-
Fetch data from XML
I believe that you can't read from a url with batch alone. you'll need a helper app like xidel https://www.videlibri.de/xidel.html
-
Tutorial: Rapid Script Development with Bash, JC, and JQ (no grep/sed/awk)
I have not played with this, but it looks like xidel might allow you to do this in Bash. jc also has a URL string parser that could be used in such a script.
- Xidel. A tool to query data from anything on the web and extract what you want
-
How to make http request with curl on certain page after being authenticated?
I built Xidel for such authenticated requests:
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
What are some alternatives?
jq - Command-line JSON processor [Moved to: https://github.com/jqlang/jq]
htmlq - Like jq, but for HTML.
pup - Parsing HTML at the command line
lol-html - Low output latency streaming HTML parser/rewriter with CSS selector-based API
gron - Make JSON greppable!
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
xmltodict - Python module that makes working with XML feel like you are working with JSON
tq - Perform a lookup by CSS selector on an HTML input
xmlq - filter xml in the command line with xpath
hq - lightweight command line HTML processor using CSS and XPath selectors