The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

SWISH::Prog::Aggregator::Spider::UA - spider user agent

SYNOPSIS

 use SWISH::Prog::Aggregator::Spider::UA;
 my $ua = SWISH::Prog::Aggregator::Spider::UA->new;
 
 # $ua is a WWW::Mechanize object

DESCRIPTION

SWISH::Prog::Aggregator::Spider::UA is a subclass of WWW::Mechanize.

METHODS

get( uri, delay )

sleep() delay seconds before fetching uri.

title

Returns document title. Overrides base method to verify that UTF-8 flag is set correctly on the response content.

AUTHOR

Peter Karman, <perl@peknet.com>

COPYRIGHT AND LICENSE

Copyright 2008 by Peter Karman

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.