Saving YouTube Videos

I posted this in the last thread, but some might find it useful for saving youtube videos, though youtube seems pretty cool allowing violent videos to stay posted for documentation.

Enter this code into your favorite text editor and save as whatever.html

javascript:if%20(document.getElementById(’download-youtube-video’)==null%20&&% 20 !!(document.location.href.match(/http:\/\/[a-zA-Z\.]*youtube\.com\/watch/)))%20{ var%20yt_mp4_path=’http://www.youtube.com/get_video?fmt=18&video_id=’+swfArgs[’v ideo_id’]+’&t=’+swfArgs[’t'];%20var%20div_embed=document.getElementById(’watch-e mbed-div’);if(div_embed){var%20div_download=document.createElement(’div’);div_do wnload.innerHTML=’
%20Download%20as%20MP4%20′+%20%20((navigator.userAgent.indexOf(’Safari’)!=-1)?’ (control-click%20and%20 select%20Download%20linked%20file%20as)’:(’(right-click%20and%20select%20Save %20′+%20(navigator.appName==’Microsoft%20Internet%20Explorer’?'target’:'link ‘)%20+’%20as)‘))+’;div_embed.appendChild(div_download);}}void(0);

Save the .html file and add it to your favorites list.

Open a youtube video you want and then open your favorites and the link. An option will appear under the video information to ’save as .mp4′. Right click the link, save-as, and itll download to your computer.

(Thanks to Error303)