Download a YouTube video using Perl

This example program shows how to download Youtube videos using Perl. It requires the module WWW::YouTube::Download.


# download a video from youtube.

use warnings;
use strict;
use WWW::YouTube::Download;
my $client = WWW::YouTube::Download->new;

for my $video_id (qw/
                    /) {


Copyright © Ben Bullock 2009-2023. All rights reserved. For comments, questions, and corrections, please email Ben Bullock ( or use the discussion group at Google Groups. / Disclaimer