Top "Jsoup" questions

Jsoup is a Java HTML parser for extracting and manipulating HTML data, using the best of DOM, CSS, and jQuery-like methods.

Is it possible to convert HTML into XHTML with Jsoup 1.8.1?

String body = "<br>"; Document document = Jsoup.parseBodyFragment(body); document.outputSettings().escapeMode(EscapeMode.xhtml); String str = document.body().html(); …

java html xhtml jsoup
Sending POST request with username and password and save session cookie

How can I save cookies with Jsoup after sending a POST request with username and password? Or must I first …

java session cookies login jsoup
Login a website with JSoup post method

I'm trying to login into a website with JSoup post method. I saw some examples but neither are working to …

html post jsoup
How I can traverse the HTML tree using Jsoup?

I think this question has been asked, but I not found anything. From the Document element in Jsoup, how I …

java jsoup traversal
Closing Jsoup Connection

I need a little help understanding the basics of Jsoup. The following code works but I'm wondering if the connection …

java android jsoup network-connection
JSoup.connect throws 403 error while apache.httpclient is able to fetch the content

I am trying to parse HTML dump of any given page. I used HTML Parser and also tried JSoup for …

java html-parsing jsoup
Selecting only from child nodes using Jsoup?

I'm currently working with a <ul> element with a lot of first-level <li> elements. I want …

java html dom screen-scraping jsoup
How to convert a Jsoup Document to a W3C Document?

I have build a Jsoup Document by parsing a in-house HTML page, public Document newDocument(String path) throws IOException { Document …

html-parsing jsoup apache-stanbol
How to post files using JSoup?

I`m using the following code post values using JSoup: Document document = Jsoup.connect("http://www......com/....php") .data("user","…

java post file-upload jsoup
how to resolve jsoup error: unable to find valid certification path to requested target

I am trying to parse the html of the following URL: https://www.smuc.ac.kr/mbs/smuc/jsp/board/…

java android ssl https jsoup