String url = "http://www.example.com"; Document doc = Jsoup.connect(url).get(); Element divNws = doc.select("div.nws").first(); //div with a class=nws String divNwsText = divNws.text(); System.out.println( "The coloum is " + divNwsText );
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)