JSoup抓取本地页面

File in = new File("C:/Users/li/Desktop/2.html");
Document doc01 = Jsoup.parse(in, "UTF-8", "");
Element s = doc01.getElementsByClass("show-solution-box-normal").get(0);
System.out.println(s.html());

原文地址:https://www.cnblogs.com/lixxx/p/9339925.html