Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- org.jsoup.nodes.Document doc = Jsoup.connect("http://site.eu").timeout(7*1000).get();
- org.jsoup.nodes.Element tabella = doc.getElementsByClass("tabella-voli").first();
- Iterator<org.jsoup.nodes.Element> iterator = tabella.select("td").iterator();
- while(iterator.hasNext()){
- Elements tables = currentServerPage.getElementsByClass("tabella-voli");
- Element secondTable = tables.get(1);
- Elements tdElements = currentServerPage.getElementsByTag("td");
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement