wood burning stoves 2.0*
The moose likes Other Open Source Projects and the fly likes Does anyone have experience with htmlparser that can help me out? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Products » Other Open Source Projects
Bookmark "Does anyone have experience with htmlparser that can help me out?" Watch "Does anyone have experience with htmlparser that can help me out?" New topic
Author

Does anyone have experience with htmlparser that can help me out?

Jacky Luk
Ranch Hand

Joined: Aug 02, 2012
Posts: 590

java.io.IOException: Invalid Http response

The link here is dynamic, with tokens, how do I parse some web site using htmlparser?

http://htmlparser.sourceforge.net/

Thanks in advance
Jack
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41621
    
  55
That library hasn't been maintained for many years. If this was my problem I'd switch to a current library like HtmlUnit.


Ping & DNS - my free Android networking tools app
Jacky Luk
Ranch Hand

Joined: Aug 02, 2012
Posts: 590
Ulf Dittmer wrote:That library hasn't been maintained for many years. If this was my problem I'd switch to a current library like HtmlUnit.


Thanks Ulf, I'll take a look at that one.
Jack
Jacky Luk
Ranch Hand

Joined: Aug 02, 2012
Posts: 590
I am just wondering how to capture Thumbelina (an image linked by this little thumbnail) of google with htmlunit.



Just wondering how to get the url of the tr, I can only retrieve the URI, not URL of the element.

Any example?
Thanks
Jack
Jeanne Boyarsky
internet detective
Marshal

Joined: May 26, 2003
Posts: 30392
    
150

Table rows don't have URLs. They have table cells (or headers.) Can you show a code snippet of what you are trying to parse?


[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Does anyone have experience with htmlparser that can help me out?