I have to extract all text elements in HTML into Java Strings. But in seperate Strings.
I have the following code:
Code Snippet for example
Document abc = Jsoup.connect("http://www.abc.in/").timeout(0).get();
Elements ee = abc.select("a[href*=xyz]");// all hrefs containing xyz substring
String xyz = ee.first().attr("abs:href");
"Elements myText = doc.getElementsByClass(x);"
Look @ the CSS of the webpage in question, find the class id of the css element assigned to the element in question.