Skip Menu |

This queue is for tickets about the WWW-Spyder CPAN distribution.

Report information
The Basics
Id: 33044
Status: open
Worked: 45 min
Priority: 0/
Queue: WWW-Spyder

People
Owner: ashley [...] cpan.org
Requestors: seanm [...] undersea.net
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 0.23
Fixed in: 0.23



Subject: Patch for Enhancements - New Options for Object and A New Method
I've added a few more options that one can pass to the object when instantiating WWW::Spyder. Most notably, I added an option that allows one to pass in an instantiated LWP::UserAgent object to WWW::Spyder, like so: my $start_url = 'http://www.existforever.com'; # Inherits a LWP::UserAgent object so it should work in its place. my $mech = WWW::Mechanize->new(autocheck => 0); ... my $spyder = WWW::Spyder->new( disable_cnap => 1, image_checking => 1, report_broken_links => 1, seed => $start_url, sleep_base => 0, UA => $mech ); Other options include: disable_cnap => Disables the courtesy nap when verbose output is enabled. image_checking => Verifies the images pointed to by <img src=...> tags. report_broken_links => If set to 1, broken links will be kept track of. I also added a get_broken_links() method that will return a reference to an array of strings representing broken links. 'report_broken_links' must be turned on in order for get_broken_links() to return anything. These changes have helped us automate the testing of our webui product and should prove useful for others as well. You can reach me, Sean Mostafavi, at seanm@undersea.net
Subject: Spyder.pm.patch

Message body is not shown because it is too large.

Subject: Re: [rt.cpan.org #33044] Patch for Enhancements - New Options for Object and A New Method
Date: Fri, 8 Feb 2008 17:35:28 -0800
To: bug-WWW-Spyder [...] rt.cpan.org
From: Ashley <apv [...] sedition.com>

Message body is not shown because it is too large.

Message body is not shown because it is too large.

Subject: Re: [rt.cpan.org #33044] Patch for Enhancements - New Options for Object and A New Method
Date: Tue, 26 Feb 2008 12:50:44 -0800
To: bug-WWW-Spyder [...] rt.cpan.org
From: Sean Mostafavi <seanm [...] undersea.net>

Message body is not shown because it is too large.

Subject: Re: [rt.cpan.org #33044] Patch for Enhancements - New Options for Object and A New Method
Date: Tue, 26 Feb 2008 13:26:59 -0800
To: bug-WWW-Spyder [...] rt.cpan.org
From: Ashley <apv [...] sedition.com>

Message body is not shown because it is too large.

Subject: Re: [rt.cpan.org #33044] Patch for Enhancements - New Options for Object and A New Method
Date: Tue, 26 Feb 2008 13:34:04 -0800
To: bug-WWW-Spyder [...] rt.cpan.org
From: Sean Mostafavi <seanm [...] undersea.net>

Message body is not shown because it is too large.

Subject: Re: [rt.cpan.org #33044] Patch for Enhancements - New Options for Object and A New Method
Date: Tue, 26 Feb 2008 16:39:25 -0800
To: bug-WWW-Spyder [...] rt.cpan.org
From: Ashley <apv [...] sedition.com>

Message body is not shown because it is too large.

Applied to v0.24 and on the way up to the CPAN right now. Only regular tests and older scripts were run.
Subject: Re: [rt.cpan.org #33044] Patch for Enhancements - New Options for Object and A New Method
Date: Tue, 26 Feb 2008 17:34:20 -0800
To: bug-WWW-Spyder [...] rt.cpan.org
From: Sean Mostafavi <seanm [...] undersea.net>

Message body is not shown because it is too large.

Subject: Re: [rt.cpan.org #33044] Patch for Enhancements - New Options for Object and A New Method
Date: Tue, 26 Feb 2008 17:38:03 -0800
To: bug-WWW-Spyder [...] rt.cpan.org
From: Sean Mostafavi <seanm [...] undersea.net>

Message body is not shown because it is too large.