Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re^7: using WWW::YouTube::Download?

by bobt_1234 (Initiate)
on Apr 28, 2013 at 15:36 UTC ( [id://1031089]=note: print w/replies, xml ) Need Help??


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

I had the same problem with error 404 when downloading YouTube videos and I solved it.

After frustrating, cursing, losing a few hairs and having a few more turn gray, I found the problem.

When you copy a URL from a YouTube video in Firefox (or presumably another browser) you get something like this:

http://www.youtube.com/watch?feature=player_detailpage&v=zLHc8NR_v-8

you want to remove this portion of the string: feature=player_detailpage&v=

The above string is for the browser, or for flash player, but is not a part of the video address string.

YOU WANT THIS: http://www.youtube.com/watch?v=zLHc8NR_v-8#t=136s

When I called download with this string (with "feature_player" removed) it worked like a charm.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1031089]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others chilling in the Monastery: (3)
As of 2024-04-24 04:24 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found