Download videos from Vimeo
Perl
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
bin
lib/WWW/Vimeo/Download
t
xt
.gitignore
.shipit
Changes
MANIFEST.SKIP
Makefile.PL
README.pod

README.pod

NAME

WWW::Vimeo::Download::Lite - Download videos from Vimeo

SYNOPSIS

use WWW::Vimeo::Download::Lite;

my $client = WWW::Vimeo::Download::Lite->new;
$client->download($clip_id_or_url);

DESCRIPTION

WWW::Vimeo::Download::Lite is a module to request and download video files from Vimeo.

This module is implemented as a child class of WWW::Mechanize. And this module is NO MOOSE.

METHOD

new(%args)

Create a new WWW::Vimeo::Download::Lite instance.

my $client = WWW::Vimeo::Download::Lite->new(
    agent         => 'Lynx/2.8.5rel.1 libwww-FM/2.14 SSL-MM/1.4.1 GNUTLS/1.0.16',
    verbose       => 1,
    show_progress => 1,
);

For more information to %args, see also WWW::Mechanize.

download($clip_id_or_url [, \%optsion]);

Download and save Vimeo video file.

$client->download($clip_id_or_url);

\%option details are:

filename

Sets save filename.

$client->download($clip_id_or_url, { filename => 'custom_save_filename.mp4' });

You can specify template for filename. The template rules are:

{:parameter_name:}

The parameter_name can specify the parameter of the video config. The following values are probably available.

id
title
width
height
duration
suffix
owner.name

Default template is

({:id:}) [{:owner.name:}] {:title:}{:suffix:}

verbose($bool)

Sets / Gets verbose option

say $client->verbose;
$client->verbose(0);

AUTHOR

xaicron <xaicron {at} cpan.org>

COPYRIGHT

Copyright 2012 - xaicron

LICENSE

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

SEE ALSO

WWW::Mechanize

WWW::Vimeo::Download