Get links

[email protected]
Newsgroups gmane.comp.parsers.htmlparser.user
Message-ID <[email protected]>
Hello
I use HTML parser to retrive links from web pages.
I had done this:

Parser parser = new Parser(url);
NodeList body = parser.parse(new HasAttributeFilter("a"));

But It retrives the anchor text and not the link. How can I get links?



      

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.