摘要: 今天在学习android解析HTML,突然找到一个工具Jsoup解析HTML挺好,并且语法像js一样String htmlString = getHtmlString("http://www.baidu.com"); Document document = Jsoup.parse(htmlString); String title = document.head().getElementsByTag("title").text(); Jsoup的官方网站http://jsoup.org/里面解析的很详细Document doc = Jsoup.parse 阅读全文
posted @ 2012-10-28 22:57 win_and_first 阅读(323) 评论(0) 推荐(0)