Jsoup is a Java HTML parser that can directly parse a URL address, HTML text content. It is much more convenient and lighter than the htmlhttp://www.aliyun.com/zixun/aggregation/33959.html ">parser". Syntax is similar to jquery.
It provides a very labor-saving API for fetching and manipulating data through dom,css and jquery-like operations.
This is a minor release, which is primarily corrects a regression bug where the content-type of a document retrieved using Jsoup.connect (String URL) May is correctly detected if specified in a meta tag.
Fixes and improvements
· Fixed issue with selector parser where some boolean and + OR combined queries (E.G.META[HTTP-EQUIV), Meta[content]) were Parsed incorrectly as OR only queries (e.g. former as meta, [HTTP-EQUIV], meta[content]) · Fixed issue where a content-type specified in a META tag is reliably detected, due to the adjective. · Updated Element.text () and Element.owntext () methods to ensure <br> tags output as whitespace. · Tweaked element outer HTML method to not generate initial newline on the-i-output element.
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.