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

WebSource::Fetcher : fetching module When run downloads given urls and returns the corresponding http response

DESCRIPTION

A fetch operator is declared with the following format :

  <ws:fetch name="opname" forward-to="ops" />

SYNOPSIS

  $fetcher = WebSource::Fetcher->new(wsnode => $node);

  # for the rest it works as a WebSource::Module

METHODS

$source = WebSource->new(desc => $node);

Create a new Fetcher;

$fetcher->handle($env);

Builds an HTTP::Request from the data in enveloppe, fetches the URI (eventually stores it in a file) and builds the corresponding DOM object

SEE ALSO

WebSource::Module