日期:2014-05-16 浏览次数:20700 次
Document doc = Jsoup.parse(inputStream, "UTF-8", "http://www.google.com.hk/"); String title = doc.title();
Document doc = Jsoup.connect("http://www.XXX.com/").get(); String title = doc.title();
Document doc = Jsoup.parse(inputStream, "UTF-8", "http://www.google.com.hk/"); Element body = doc.body(); String text = body.text();