Bootstrap

jsoup根据标签class属性和id属性查询


Document document = Jsoup.connect("http://xxx").get();
class查询

Elements elements = document.select(“div[class=xxx]”);


id查询

Elements elements = document.select(“div[id=xxx]”);

;