I'm pulling data from a website with Jsoup but I'm not very good at html . I would like to know if there is any relationship between and lin-area-c2 and .
If there is one, I'd like to know how to use it to put them in an arrayList , for example, since the way I'm doing it first makes extract the )
In general, it extracts a "lin-area-c2" and then if after it has . lin-course-c3 "
Thank you!
Here is the link to the site.
Document document = null;
document = Jsoup.connect("http://www.dges.gov.pt/guias/indcurso.asp?letra=E").get();
for(int contador=0;contador<document.select(".lin-area-c2").size();contador++) {
Log.d("tag",""+ document.select(".lin-area-c2").get(contador).text());
}
for(int contador=0;contador<document.select(".lin-curso-c3").size();contador++){
Log.d("tag",""+ document.select(".lin-curso-c3").get(contador).text());
}