日期:2014-05-17 浏览次数:20698 次
import org.jsoup.Jsoup; import org.jsoup.nodes.Document; public class Test { public static void main(String[] args) { Test t = new Test(); t.parseUrl(); } public void parseUrl() { try { Document doc = Jsoup.connect("http://www.bilibili.tv/video/av156407/").get(); System.out.println(doc); } catch (Exception e) { e.printStackTrace(); } } }