File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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
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: 601

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: 42929
    
  68
That library hasn't been maintained for many years. If this was my problem I'd switch to a current library like HtmlUnit.
Jacky Luk
Ranch Hand

Joined: Aug 02, 2012
Posts: 601
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: 601
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
author & internet detective
Marshal

Joined: May 26, 2003
Posts: 31069
    
232

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?