>How come when you use the parser on most sites to extract links it works
>fine but when you use it on search engine i.e.
>http://search.yahoo.com/bin/search?p=dogs which is a page with search
>results for dogs, it does not work?
Ah - this is a known bug. It doesent work bcos the parser is not capable of
handling dynamic pages. This is actually not a difficult bug to fix. Version
1.10 of HTMLParser (the next release - coming soon) will contain this and
other fixes.
So you will have to wait till this weekend, or make the fix yourself - the
bug probably lies in HTMLParser.java itself, in the way a page extension is
handled.
Regards
Somik
_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com
|