How does tools like IDM,savefrom.net etc grab youtube video download url from video id ?
What I done is:
get video
token
from/get_video_info?video_id=ID
like:http://www.youtube.com/get_video_info?video_id=8hYlB38asDY
Download video by requesting it from
/get_video?video_id=ID&t=TOKEN&fmt=FORMAT_ID&asv=2
like:http://www.youtube.com/get_video?video_id=8hYlB38asDY&t=vjVQa1PpcFMgAK0HB1VRbinpVOwm29eGugPh3fBi6Dg%3D&fmt=18&asv=2
As said in this thread.
but it's shows nothing.
I think the way I done is deprecated. I searched a lot in google but nothing found helpful.