The FRAMESET tag has zero or more FRAME tags which have the URL of the frame contents that you want.
Get the FRAME tags using any of the usual mechanisms (see http://htmlparser.sourceforge.net/wiki/index.php/LinkExtraction for ideas of how to get tags of a certain type), and then follow the URL returned from frametag.getFrameLocation (); with another parser, or the same parser if you're finished with the one you have.
For a complete example of a program that follows links in frames using the custom tag method, see org.htmlparser.parserApplications.SiteCapturer.
Derrick
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi
How can I extract links inside frames?
Many Thanks
Shantha
Shantha,
The FRAMESET tag has zero or more FRAME tags which have the URL of the frame contents that you want.
Get the FRAME tags using any of the usual mechanisms (see http://htmlparser.sourceforge.net/wiki/index.php/LinkExtraction for ideas of how to get tags of a certain type), and then follow the URL returned from frametag.getFrameLocation (); with another parser, or the same parser if you're finished with the one you have.
For a complete example of a program that follows links in frames using the custom tag method, see org.htmlparser.parserApplications.SiteCapturer.
Derrick