欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页  >  web前端

jsoup 1.9.2 发布,Java 的 HTML 解析器_html/css_WEB-ITnose

程序员文章站 2022-04-12 16:20:53
...
jsoup 1.9.2 发布,改进内容包括:

改进:

1. In XML documents, detect the charset from the XML prolog --

Bug 修复

1. Fixed an issue where tag names that contained non-ascii characters but started with an ascii character would cause the parser to get stuck in an infinite loop.

2. Fixed an issue where API created XML documents would have an incorrect prolog.

3. Fixed an issue where you could not use an attribute selector to find values containing unbalanced braces or parentheses.

4. Fixed an issue where namespaced tags (like ) would causeElement.cssSelector() to fail.

jsoup 是一款 Java 的HTML 解析器,可直接解析某个URL地址、HTML文本内容。它提供了一套非常省力的API,可通过DOM,CSS以及类似于JQuery的操作方法来取出和操作数据。

下载地址: https://jsoup.org/download