First, I want to thank you all for taking your time to help in advance
Next, I want to point out that I already read this answer When I inspect element in google chrome on stackoverflow its really easy to understand but on the webpage listed below its kind of messy
I want to be able to load information from companies listed on this webpage http://www.manta.com/mb_51_ALL_CVZ/carlstadt_nj?pg=1
Finally, this is my code currently
import org.jsoup.Jsoup;
import org.jsoup.nodes.Document;
import org.jsoup.nodes.Element;
import org.jsoup.select.Elements;
public class Main {
public static void main(String[]args)throws Exception{
String url = "http://www.manta.com/mb_51_ALL_CVZ/carlstadt_nj?pg=1";
Document doc = Jsoup.connect(url).get();
String address = doc.select("").text();
String telephone = doc.select("").text();
String description = doc.select("").text();
// want to retrieve the address, the telephone number and the description of the
// company listen on the website that i provided
}
}