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

WWW::YouTube::Download::Channel - Downloads all/every/some of the videos from any youtube user channel

SYNOPSIS

use WWW::YouTube::Download::Channel;
my $yt = WWW::YouTube::Download::Channel->new();

$yt->target_directory('/youtuve/thiers48'); #OPTIONAL. default is current dir
$yt->apply_regex_filter('24 horas|24H');    #OPTIONAL apply regex filters by title.. 
$yt->apply_regex_skip( 'skip|this|title' ); #OPTIONAL skip some titles
$yt->leech_channel('thiers48');             #REQ
$yt->download_all;                          #REQ find and download youtube videos

warn "total user vids: " . $yt->total_user_videos;
warn "total downloads: " . $yt->total_download_videos;

#use Data::Dumper;
#warn Dumper $yt->video_list_ids;

DESCRIPTION

Use WWW::YouTube::Download::Channel to download a complete youtube channel / user videos.
Just pass the channel id and download all the flv directly onto your hdd for later usage.
Enjoy!

AUTHOR

Hernan Lopes
CPAN ID: HERNAN
hernanlopes <.d0t.> gmail

COPYRIGHT

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

The full text of the license can be found in the LICENSE file included with this module.

SEE ALSO

perl(1).