I am writing an utility which should hit the URL of a dynamic page, retrieve the content, search for a specific div tag in various nested div tags and grab the content.
Mainly, I am looking for some Java code/library. JavaScript or some JavaScript-based library would also work for me.
I shortlisted following -> JSoup, Jerry, JTidy(last updated in 2009-12-01). Which one is best performance wise?
Edit: Rephrased the question. Added shortlisted lib.