tools
jsoup
tools | jsoup | |
---|---|---|
2 | 27 | |
16 | 10,645 | |
- | - | |
9.4 | 9.1 | |
5 days ago | about 2 months ago | |
Shell | Java | |
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
jsoup
- FLaNK Stack Weekly for 20 June 2023
-
Russia news visualisation on steroids
2e. The HTML parsing library is in app-kt. It's called JSoup https://jsoup.org/
-
Looking for direction, guidance on in-home call button.
For parsing the webpage in Java or Kotlin you can use Jsoup
-
Web Scraping Google With Java
Jsoup — It is a Java library that can be used for both extracting and parsing HTML.
-
How I archived 100 million PDF documents... (Part 1)
Finally, at this point, I was able to go through a bunch of webpages (parsing them in the process with JSoup), grab all the links that contained pdf files based on the file extension then download them. Unsurprisingly, most of the pages (~60-80%) ended up being unavailable (404 Not Found and friends). After a quick cup of coffee, I got the 10.000 documents on my hard drive. This is when I realized that I have one more problem to solve.
-
Regex to find/replace text within <angle brackets> and ignore rest of the text
It might be better to use an HTML parser instead (this one looks good at first glance: https://jsoup.org/) although as long as you can make certain assumptions over the HTML input (for example that it'll always have those two attributes in this order) using regular expressions to parse it is feasible.
-
API pentru preturi la combustibil
Poti folosi JSoup in Java https://jsoup.org/
- One more question regarding a program I wanna write
-
UIUC MCS - CS 427 Review - Software Engineering
There are five machine problems. None of the assignments took me longer than two to three hours, and the last one I completed in less than an hour. The MPs had been recently redesigned and tied together nicely. Each one covered a different course topic in the jsoup code base.
-
Any suggestions for good open source Java codebases to study(With below criteria)?
https://github.com/jhy/jsoup jsoup is a java library for parsing HTML. Intuitive API and extremely well readable code. I would definitely recommend this.
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.
Apache Nutch - Apache Nutch is an extensible and scalable web crawler
htmlq - Like jq, but for HTML.
Crawler4j - Open Source Web Crawler for Java
lol-html - Low output latency streaming HTML parser/rewriter with CSS selector-based API
storm-crawler - A scalable, mature and versatile web crawler based on Apache Storm
cascadia - Go cascadia package command line CSS selector
Sparkler - Spark-Crawler: Apache Nutch-like crawler that runs on Apache Spark.
fontpreview - Highly customizable and minimal font previewer written in bash
JsonPath - Java JsonPath implementation
tq - Perform a lookup by CSS selector on an HTML input
yq - Command-line YAML, XML, TOML processor - jq wrapper for YAML/XML/TOML documents