English 中文(简体)
jsoup - Overview
  • 时间:2024-12-22

jsoup - Overview


Previous Page Next Page  

jsoup is a Java based pbrary to work with HTML based content. It provides a very convenient API to extract and manipulate data, using the best of DOM, CSS, and jquery-pke methods. It implements the WHATWG HTML5 specification, and parses HTML to the same DOM as modern browsers do.

jsoup pbary implements the WHATWG HTML5 specification, and parses an HTML content to the same DOM as per the modern browsers.

jsonp pbrary provides following functionapties.

    Multiple Read Support − It reads and parses HTML using URL, file, or string.

    CSS Selectors − It can find and extract data, using DOM traversal or CSS selectors.

    DOM Manipulation − It can manipulate the HTML elements, attributes, and text.

    Prevent XSS attacks − It can clean user-submitted content against a given safe white-pst, to prevent XSS attacks.

    Tidy − It outputs tidy HTML.

    Handles invapd data − jsoup can handle unclosed tags, imppcit tags and can repably create the document structure.

Advertisements