Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
Hi I have installed WWW::Mechanize using ppm. Im Running windows XP and active state version 5.8. I need to use WWW::Mechanize to visit one of my sites and follow all of the links. The site in question has 3 kinds of links, 2 of which are javascript functions which in turn builds a url. I have code to identify and deal with the javascript links. I want to visit each page of my site and read the link url and link text then output it to a file, and then follow all of the links I have found. I have managed to do this using the $mech->links method for the first page of the site, but I need to follow each of the links in order. Can anyone suggest how to do this?
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: WWW::Mechanize problem
by davido (Cardinal) on Oct 20, 2005 at 00:45 UTC | |
by Anonymous Monk on Oct 20, 2005 at 11:14 UTC | |
by Limbic~Region (Chancellor) on Oct 20, 2005 at 12:34 UTC | |
by Anonymous Monk on Oct 20, 2005 at 16:04 UTC | |
by Limbic~Region (Chancellor) on Oct 20, 2005 at 16:24 UTC | |
|
Back to
Seekers of Perl Wisdom