#!/usr/bin/env perl use warnings; use strict; use WWW::YouTube::Download; my $video_id = '...'; my $client = WWW::YouTube::Download->new; $client->download( $video_id ); #!! ... download failed: 403 Forbidden at ./perl.pl line 10.