Hi, i am using Cobra parsing engine and I wish to get HTML code of an already parsed page (e.g. after javascripts executions). Is it possible to do? Cobra may be replaced with another open-source java web parser if needed.
+2
A:
Wow, Cobra actually seems to do it: Example of Usage
It actually gives you a tree of HTML DOM-Nodes. You can use HTMLWriter to get the HTML-Text if you prefer, but if you're interested in some specific portion of it, use XPath, it's much cleaner than to search in the HTML-String.
giraff
2010-10-04 13:38:51
A:
Thanks, it helps. I simply missed that example. I am an idiot :)
Frozen Spider
2010-10-05 09:28:29