NAME

Dezi::Aggregator::Spider::UA - spider user agent

SYNOPSIS

use Dezi::Aggregator::Spider::UA;
my $ua = Dezi::Aggregator::Spider::UA->new;

# $ua is a LWP::RobotUA object

DESCRIPTION

Dezi::Aggregator::Spider::UA is a subclass of LWP::RobotUA.

METHODS

get( args )

args is an array of key/value pairs. uri is required.

delay will sleep() delay seconds before fetching uri.

Also supported: user and pass for authorization.

head( args )

Like get(), args is an array of key/value pairs. uri is required.

delay will sleep() delay seconds before fetching uri.

Also supported: user and pass for authorization.

redirect_ok

Returns 0 (false) to override parent class behavior.

response

Returns most recent Response object.

uri

Returns most recently requested URI object.

Set hashref of tags considered valid "links". Passed into every Response object in the link_tags() accessor.

set_response_class( class )

Set the Response class. Default is Dezi::Aggregator::Spider::Response.

get_response_class

Returns the class name of objects returned from get() and head().

AUTHOR

Peter Karman, <perl@peknet.com>

BUGS

Please report any bugs or feature requests to bug-swish-prog at rt.cpan.org, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Dezi-App. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.

SUPPORT

You can find documentation for this module with the perldoc command.

perldoc Dezi

You can also look for information at:

COPYRIGHT AND LICENSE

Copyright 2008-2018 by Peter Karman

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

SEE ALSO

http://swish-e.org/