Doc = Jsoup.connect(URL) не получилось.
public class Main {
public static void main (String ... args) {
Document doc = null;
String url = "http://178.128.242.32/test";
try {
doc = Jsoup.connect(url).get();
} catch (IOException e) {
e.printStackTrace();
}
Element textElem = doc.selectFirst("body");
String text = textElem.text();
System.out.println(text);
}
}
doc.select("[class^=comment-id]");
[attr^=value], [attr$=value], [attr*=value]: elements with attributes that start with, end with, or contain the value, e.g. [href*=/path/]