I am trying to parse the html of the following URL:
http://ocw.mit.edu/courses/aeronautics-and-astronautics/16-050-thermal-energy-fall-2002/
to obtain the te
Here is a code
Document document = Jsoup.connect("http://ocw.mit.edu/courses/aeronautics-and-astronautics/16-050-thermal-energy-fall-2002/").get();
Elements elements = document.select("p");
System.out.println(elements.html());
You can select all tags using Selector property of Jsoup. It will return the text and tags of
.