[Htmlparser-user] extract specific link
Brought to you by:
derrickoswald
From: Cibi <c1...@ya...> - 2006-03-18 19:19:49
|
How to extract specific link? for example "next" link. I use this and it return empty node: NodeFilter linkFilter = new TagNameFilter("A"); NodeFilter nextFilter = new StringFilter("next"); NodeList links = parser.extractAllNodesThatMatch(linkFilter); NodeList next = links.extractAllNodesThatMatch(nextFilter); do I need to loop thought link notelist then compare each node? Thanks --------------------------------- Yahoo! Travel Find great deals to the top 10 hottest destinations! |