WWW::Yahoo::Groups::Mechanize

WWW::Yahoo::Groups::Mechanize is a Perl module to control WWW::Mechanize for WYG.
Download

WWW::Yahoo::Groups::Mechanize Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Perl Artistic License
  • Price:
  • FREE
  • Publisher Name:
  • Iain Truskett
  • Publisher web site:
  • http://search.cpan.org/~autrijus/Test-Signature-1.06/lib/Test/Signature.pm

WWW::Yahoo::Groups::Mechanize Tags


WWW::Yahoo::Groups::Mechanize Description

WWW::Yahoo::Groups::Mechanize is a Perl module to control WWW::Mechanize for WYG. WWW::Yahoo::Groups::Mechanize is a Perl module to control WWW::Mechanize for WYG.This module is a subclass of WWW::Mechanize that permits us a bit more control over some aspects of the fetching behaviour.INHERITANCEThis module inherits from WWW::Mechanize, which inherits from LWP::UserAgent. As such, any method available to either of them is available here. Any overridden methods will be explained below.CONSTRUCTORnewAs for "new()" in WWW::Mechanize but sets the agent string to our custom agent.METHODSdebugSets or gets whether we are in debugging mode. Returns true if set, else false. warn "Awooga!" if $self->debug; $self->debug( 1 );getWe override get in order to provide some behind the scenes actions.Sleeping We allow you to rate limit your downloading. See "autosleep".Automatic adult confirmation We automatically click Accept on adult confirmation. So I hope you agree to all that.Debugging If debug is enabled, then it will display a warning showing the URL.I should probably shift the advertisement interruption skipping into this method at some point, along with the redirect handling.It will throw a X::WWW::Yahoo::Groups::BadFetch if it is unable to retrieve the specified page.Returns 0 if success, else an exception object. my $rv = $y->get( 'http://groups.yahoo.com' ); $rv->rethrow if $rv; # or, more idiomatically $rv = $y->get( 'http://groups.yahoo.com' ) and $rv->rethrow;autosleepAllows one to configure the sleep period between fetches The default is 1 (as of 1.86). my $period = $ua->autosleep; $ua->autosleep( 10 ); # for a 10 second delay Requirements: · Perl


WWW::Yahoo::Groups::Mechanize Related Software