N0i::WWW::UserFriendly



NAME

N0i::WWW::UserFriendly - UserFriendly daily static web grabber


SYNOPSIS

uf-get [--start YYYYMMDD] [--stop YYYYMMDD] [--save pictures base directory] [--delay max seconds delay between requests] [--timeout HTTP response timeout] [--agent HTTP User-Agent] [--proxy HTTP Proxy] [--puser HTTP Proxy Authentification User] [--ppass HTTP Proxy Authentification Password] [--verbose] [--help]


DESCRIPTION

This robot will try to grab UserFriendly daily static images and save them in a directory structured as following:

pictures_base_directory/YYYY/MM/DD.(file_extension)


REQUIRES

Some current perl version (should be working with anything above 5.005).

Some usual perl modules (many should be found in standard distros, the others can always be installed from CPAN): Carp, Data::Dumper, Date::Calc File::Path, File::Spec, Getopt::Long, IO::File, IO::Scalar, LWP::UserAgent


OPTIONS

start date
Sets grabbing start date. Date should be formatted as YYYYMMDD. Default: today.

stop date
Sets grabbing stop date. Date should be formatted as YYYYMMDD. Default: today.

save directory
Sets the base directory where pictures should be saved. Default: current directory.

delay seconds
Sets the maximum delay between HTTP requests. Default: 60.

timeout seconds
Sets the maximum seconds to be waiting before HTTP request timeouts. Default: 30.

agent string
Sets the HTTP User-Agent used by this robot. Default: 'Mozilla/5.0 (X11; Linux;) Gecko/2002'.

proxy url
Set the HTTP Proxy. Default: none.

puser string
Set the HTTP Proxy Authentification User. Default: none.

ppass string
Set the HTTP Proxy Authentification Password. Default: none.

verbose (-v)
Increases the verbosity level of the application. Use it multiple times to obtain even more information.

help (-h)
Starts perldoc to show this documentation :)


CHANGELOG

  1. 2003.07.27, altblue
  2. - first version


AUTHOR

Marius Feraru, altblue@n0i.net, http://altblue.com/


LICENSE

Copyright (C) 2003 Marius FERARU (altblue@n0i.net) All Rights Reserved.

This module is free software. It may be used, redistributed and/or modified under the same terms as Perl itself.


DOWNLOAD

uf-get.pl, version 2003072702