http://www.perlmonks.org?node_id=996065


in reply to Re: using WWW::YouTube::Download?
in thread using WWW::YouTube::Download?

I tried this code to download a youtube video and got the message: !! http://www.youtube.com/watch?v=XlZhEvsQmWQ&cc=1 download failed: 403 Forbidden at C:\...\perlDownloader.pl line 8 If you can offer some suggestions to prevent this negative response, I would appreciate.

Replies are listed 'Best First'.
Re^3: using WWW::YouTube::Download?
by frozenwithjoy (Priest) on Sep 27, 2012 at 19:57 UTC
    I re-ran the code I posted in June (that definitely worked in June) and I'm getting a 403 error, too. Perhaps YouTube is blocking downloading of videos in this manner.
        I tried get-flash-videos too. Unfortunately, it gives 404 error. I could see this through checking the debug output. Seems that Youtube recognizes and rejects get-flash-videos also.