Download videos directly from YOUTUBE!!

Simon Höfer

Veteran
Hey all,
on the strangest way I found out how to download videos from youtube.

No don't even think that I mean capturing or something like this with a third party program. I mean real download, with download link!

Go to a youtube video (example: http://www.youtube.com/watch?v=IbDmOt-vIL8), remove the video link from the browser input and put in the following:

javascript:if%20(document.getElementById('download-youtube-video')==null%20&&%20!!(document.location.href.match(/http:%5C/%5C/%5Ba-zA-Z%5C.%5D*youtube%5C.com%5C/watch/)))%20%7Bvar%20yt_mp4_path='http://www.youtube.com/get_video?fmt=22&video_id='+swfArgs%5B'video_id'%5D+'&t='+swfArgs%5B't'%5D;%20var%20div_embed=document.getElementById('watch-embed-div');div_embed.innerHTML=div_embed.innerHTML+'%3Cbr%20/%3E%20%3Cspan%20id=%5C'download-youtube-video%5C'%3E%3Ca%20href=%5C''+yt_mp4_path+'%5C'%3EDownload%20as%20720p%20HD%20MP4%3C/a%3E%20'+%20%20((navigator.userAgent.indexOf('Safari')!=-1)?'(control-click%20and%20select%20%3Ci%3EDownload%20linked%20file%20as%3C/i%3E)':('(right-click%20and%20select%20%3Ci%3ESave%20'+%20(navigator.appName=='Microsoft%20Internet%20Explorer'?'target':'link')%20+'%20as)%3C/i%3E'))+'%3C/span%3E';%7Dvoid(0);
Press enter.

Now a download link appears in the video description box on the right. Right click, save as. Here we go!!

I couldn't believe my eyes :D
 
That's cool. In Safari, all you need to do is open the activity window, find the youtube file (it's usually the one with the largest file size), copy the link and paste it into the downloads bar, and it starts downloading.
 
Back
Top