WWW::YouTube::Download::Channel - Downloads all/every/some of the videos from any youtube user channel
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->newer_than( { #OPTIONAL filter videos by dates day => 1, month => 12, year => 2000 } ); $yt->leech_channel('thiers48'); #REQ $yt->download_all; #REQ find and download youtube videos $yt->show_download_errors; #display list of errors if any warn "total user vids: " . $yt->total_user_videos; warn "total downloads: " . $yt->total_download_videos; #use Data::Dumper; #warn Dumper $yt->video_list_ids;
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!
Hernan Lopes CPAN ID: HERNAN hernanlopes <.d0t.> gmail
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.
perl(1).
To install WWW::YouTube::Download::Channel, copy and paste the appropriate command in to your terminal.
cpanm
cpanm WWW::YouTube::Download::Channel
CPAN shell
perl -MCPAN -e shell install WWW::YouTube::Download::Channel
For more information on module installation, please visit the detailed CPAN module installation guide.