views:

533

answers:

3

Hi
I wrote a program that gets youtube video URL and downloads it
Up today I did this:
1. get video "token" from "/get_video_info?video_id=ID" like:

http://www.youtube.com/get_video_info?video_id=jN0nWjvzeNc  

2. Download Video by requesting it from "/get_video?video_id=ID&t=TOKEN&fmt=FORMAT_ID" like:

http://www.youtube.com/get_video?video_id=jN0nWjvzeNc&t=vjVQa1PpcFMgAK0HB1VRbinpVOwm29eGugPh3fBi6Dg%3D&fmt=18  

But this doesn't work anymore!
What is the new download URL?

Thanks

+1  A: 

Following this:

http://eduviews.com/portal/getting-youtube-video-url

Should solve your problem. Getting the url the way you describe does not work anymore.

WesleyE
Hi, Thanks, But This post is too old (2008) and it is actually the same technique as mine ! and it doesn't work too! any other solution?
Snigger
A: 

I'm running into the same problem. Has anyone found a solution for this yet? There has to be one out there, because some programs that rely on it are starting to release updates that supposedly work http://www.dvdvideosoft.com/news/?p=356

G Ullman
+1  A: 

Add &asv=2 to the end of the URL.

rossy
Hi, Thank you very much, it works , But: I tried "asv=3" (as I fetched from reversed actionscript code of youtube player) but it didn't work! but your's works. thanks
Snigger
rossy