[Htmlparser-user] is htmlparser used only once?
Brought to you by:
derrickoswald
From: Dave <jav...@ya...> - 2006-11-06 03:12:53
|
Hi, Parser parser = new Parser(); parser.setResource(http://web-site); ... NodeList nodes = parser.extractAllNodesThatMatch(filter); NodeList nodes1 = parser.extractAllNodesThatMatch(filter); The first call is correct, having the right node list. but the second call with the same filter returned null. I need to use the same parser multiple times without re-parsing the same page. parser.reset() will re-parse the same page. What should I do? Thanks for help. david --------------------------------- Check out the New Yahoo! Mail - Fire up a more powerful email and get things done faster. |