Jsoup解析器(簡易網絡爬蟲)

今天太晚了就發一個簡單的小例子吧 利用Jsoup解析器來解析html頁面,也算一個小爬蟲吧 public void Select() throws Exception { //1.解析html文本,獲取document對象 Document document = Jsoup.parse(new URL("https://www.runoob.com/"), 1000); //通過標
相關文章
相關標籤/搜索