Use Jsoup to get all href values from a specific class
问题 I was trying to parse my university website, to get a list of news (title + link) from main site. However, as I'm trying to parse a full website, links that I am looking for are nested deep in other classes, tables etc. Here's the code I tried to use: String url = "http://www.portal.pwr.wroc.pl/index,241.dhtml"; Document doc = Jsoup.connect(url).get(); Elements links = doc.select("table.cwrapper .tbody .tr td.ccol2 div.cwrapper_padd div#box_main_page_news.cbox.grey div#dyn_main_news.cbox