Download a YouTube video using Perl
This example program shows how to download Youtube videos using Perl. It requires the module WWW::YouTube::Download.
#!/home/ben/software/install/bin/perl # download a video from youtube. use warnings; use strict; use WWW::YouTube::Download; my $client = WWW::YouTube::Download->new; for my $video_id (qw/ 5DqnYwKKBQk Ct9j5oJo8BY /) { $client->download($video_id); }
Copyright © Ben Bullock 2009-2024. All
rights reserved.
For comments, questions, and corrections, please email
Ben Bullock
(benkasminbullock@gmail.com).
/
Disclaimer