my dog learned polymorphism
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 OCA Java SE 8 Programmer I Study Guide this week in the OCAJP 8 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: 634

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
Rancher

Joined: Mar 22, 2005
Posts: 42958
    
  73
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: 634
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: 634
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: 32644
    
216

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?


[OCA 8 book] [Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Other Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, 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?
 
It's not a secret anymore!