WWW::Google::Images::SearchResult - Search result object for WWW::Google::Images


WWW-Google-Images documentation  | view source Contained in the WWW-Google-Images distribution.

Index


NAME

Top

WWW::Google::Images::SearchResult - Search result object for WWW::Google::Images

Constructor

Top

new($agent, @urls)

Creates and returns a new WWW::Google::Images::SearchResult object.

Accessor

Top

$result->next()

Returns the next image from result as a WWW::Google::Images::Image object.

Other methods

Top

$result->save_all(%args)

Save all the image files and web pages from result.

Optional parameters:

content => 1

Content is saved by calling $image->save_content() for each result.

context => 1

Context is saved by calling $image->save_context() for each result.

summary => 1

A summary is created, that links saved files to original URLs.

file => $file

Passed to $image->save_content() and $image->save_context().

dir => $directory

Passed to $image->save_content() and $image->save_context().

base => $base

Passed to $image->save_content() and $image->save_context().

Additionaly, if optional parameter file or base is given, an index number is automatically appended.

COPYRIGHT AND LICENSE

Top

AUTHOR

Top

Guillaume Rousse <grousse@cpan.org>


WWW-Google-Images documentation  | view source Contained in the WWW-Google-Images distribution.