jsoup Description

jsoup is a Java library that streamlines the process of working with HTML and XML in real-world applications. It provides a user-friendly API for fetching URLs, parsing data, extracting information, and manipulating it through DOM API methods, CSS selectors, and XPath queries. By adhering to the WHATWG HTML5 specification, jsoup ensures that the HTML it parses is transformed into a DOM structure comparable to that used by modern web browsers. This library enables users to scrape and parse HTML from various sources, such as URLs, files, or strings; locate and extract information using DOM traversal or CSS selectors; modify HTML elements, attributes, and text; and sanitize user-generated content to safeguard against XSS vulnerabilities while producing clean HTML output. jsoup is adept at handling the diverse spectrum of HTML encountered online, ranging from well-formed and valid to messy, non-compliant tag-soup, resulting in a coherent parse tree. For instance, one can retrieve the homepage of Wikipedia, parse it into a DOM structure, and extract the headlines featured in the "In the news" section, organizing them into a list of elements for further use. This flexibility makes jsoup an invaluable tool for developers who need to interact with web content efficiently.

Integrations

API:
Yes, jsoup has an API

Reviews

Total
ease
features
design
support

No User Reviews. Be the first to provide a review:

Write a Review

Company Details

Company:
jsoup
Website:
jsoup.org

Media

jsoup Screenshot 1
Recommended Products
MongoDB Atlas runs apps anywhere Icon
MongoDB Atlas runs apps anywhere

Deploy in 115+ regions with the modern database for every enterprise.

MongoDB Atlas gives you the freedom to build and run modern applications anywhere—across AWS, Azure, and Google Cloud. With global availability in over 115 regions, Atlas lets you deploy close to your users, meet compliance needs, and scale with confidence across any geography.
Start Free

Product Details

Platforms
Windows
Mac
Linux
Types of Training
Training Docs
Customer Support
Online Support

jsoup Features and Options

Web Design Software

Autocompletion
Collaborative Editing
Content Management
Drag & Drop
Element Libraries
Programming Language Support
Syntax Highlighting
Templates

jsoup User Reviews

Write a Review
  • Previous
  • Next