Here are some javascript code to download Videos from youtube.
Just open the youtube page for the video you want to download and then run one of the following script.
- TO DOWNLOAD REGULAR QUALITY VIDEO
javascript:window.location.href = 'http://youtube.com/get_video?video_id=' + yt.getConfig('SWF_ARGS')['video_id'] + "&l=" + yt.getConfig('SWF_ARGS')['l'] + "&sk=" + yt.getConfig('SWF_ARGS')['sk'] + '&t=' + yt.getConfig('SWF_ARGS')['t'];
- TO DOWNLOAD HIGH QUALITY VIDEO
javascript:window.location.href = 'http://youtube.com/get_video?video_id=' + yt.getConfig('SWF_ARGS')['video_id'] + "&fmt=18&l=" + yt.getConfig('SWF_ARGS')['l'] + "&sk=" + yt.getConfig('SWF_ARGS')['sk'] + '&t=' + yt.getConfig('SWF_ARGS')['t'];
- TO DOWNLOAD HD QUALITY VIDEO
javascript:window.location.href = 'http://youtube.com/get_video?video_id=' + yt.getConfig('SWF_ARGS')['video_id'] + "&fmt=22&l=" + yt.getConfig('SWF_ARGS')['l'] + "&sk=" + yt.getConfig('SWF_ARGS')['sk'] + '&t=' + yt.getConfig('SWF_ARGS')['t'];
Steps:
- Open youtube video page.
- Copy the script
- Paste on address bar and press ENTER
For regular use you can bookmark this link and click on the bookmarked link(link icon) whenever required.