I am working on an application that dumps data from a website, and I was wondering how I need to collect data. In particular, I need data contained in several div tags that use a specific CSS class. Currently (for testing purposes) I'm just checking
div class = "classname"
in every line of HTML - this works, but I cannot help but feel that there is a better solution.
Is there any good way that I could give the class an HTML string and have some good methods, for example:
boolean usesClass(String CSSClassname); String getText(); String getLink();
java html parsing web-scraping
Richard Walton Oct 26 '08 at 13:57 2008-10-26 13:57
source share