WWW::Yahoo::Groups::Mechanize

Description

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. INHERITANCE This 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. CONSTRUCTOR new As for "new()" in WWW::Mechanize but sets the agent string to our custom agent. METHODS debug Sets or gets whether we are in debugging mode. Returns true if set, else false. warn "Awooga!" if $self->debug; $self->debug( 1 ); get We 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; autosleep Allows 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.

Www - Wyg - Wwwyahoogroupsmechanize - Perl Module - Module - Control - Perl - Debug - Autosleep - Libraries - Programming

Published By:Iain Truskett

License Type:Freeware

Date Added:25 October, 2010

Version:1.91

Price:Free

Downloads:1

Size:33.8 KB

Platform:Linux

What people say
- required fields
     
Related Downloads

WWW::Webrobot::pod::Testplan is a Perl module that helps you on how to write a test plan for webrobot. A test plan is a list of elements. An element itself may be a request, a (sub) test plan, an include or a cookie control command.

DateAug 25, 2010

AuthorABAS Software AG

Size98.3 KB

LicenseFreeware

PriceFree

PlatformLinux

CategoryLinux Programming

WWW::PkgFind watches Web sites, FTP sites, GIT repositories, etc. for new code releases, and downloads them. In other words, its like a Web spider tuned for downloading software packages and patches.

DateOct 15, 2010

AuthorBryce Harrington

Size13.3 KB

LicenseFreeware

PriceFree

PlatformLinux

CategoryLinux Internet

WWW::Search::Nomade is a Perl class for searching Nomade.

DateAug 30, 2010

AuthorAlain BARBET

Size4.1 KB

LicenseFreeware

PriceFree

PlatformLinux

CategoryLinux Programming

Pinger is a network monitor tool with optional WWW interface (includes such features as sending SNMP traps to other host and others). Compiling and Installing: 1. Become root and gunzip/tar sources 2. Create list of hosts to monitor to.

DateAug 31, 2010

AuthorAlexey Semenov

Size67.6 KB

LicenseFreeware

PriceFree

PlatformLinux

CategoryLinux Internet

WWW::Rafb is a Perl interface for rafb pasting site ( rafb.net/paste ).

DateSep 20, 2010

AuthorAmit Sides

Size3.1 KB

LicenseFreeware

PriceFree

PlatformLinux

CategoryLinux Programming