Tyler MacDonald > WWW-ImageSpool-0.01 > bin/imagespoold.pl

Download:
WWW-ImageSpool-0.01.tar.gz

Annotate this POD

CPAN RT

Open  0
Report a bug
Source  

NAME imagespoold.pl - Periodically download images from the web ^

SYNOPSIS ^

        imagespoold.pl --dir=spool_directory
         [--dictionary=dictionary_file]
         [--verbose[=0-4]]
         [--max=bytes]
         [--minx=x] [--miny=y]
         [--limit=limit] [--searchlimit=limit]
         [--consume | --no-consume]
         [--sleep=seconds] [--run=seconds]

EXAMPLE ^

        imagespoold.pl --dir=/var/cache/imagespool
         --dictionary=/home/bob/favourite_things.txt
         --verbose=1 --max=104857600
         --minx=320 --miny=240 
         --sleep=30 > /home/bob/imagespoold.log
         2>&1 &

DESCRIPTION ^

imagespoold.pl will downloaded images from the internet into the directory specified by the --dir argument, using random words as search keywords, picked from the dictionary file specified by --dictionary (or /usr/share/dict/words if one is not specified).

OPTIONS ^

Most of the options directly correspond to options to the WWW::ImageSpool perl object. Please see it's documentation for a description of those. There are also two additional options:

--sleep=seconds

How many seconds to wait between iterations.

--run=seconds

Terminate after this many seconds. This is useful for, among other things, rotating dictionary files periodically.

NOTE ^

This module may violate the terms of service of some search engines or content providers. Use at your own risk.

LICENSE ^

Copyright 2004, Tyler "Crackerjack" MacDonald <tyler@yi.org> This is free software; you may redistribute it under the same terms as perl itself.