http://rg3.github.com/youtube-dl/
Or use your favorite package-management system to install youtube-dl. Make sure youtube-dl is up to date if there are problems by running 'youtube-dl -U'.
-Also requires the BeautifulSoup module for Python, which can be found here:
-http://www.crummy.com/software/BeautifulSoup/download/3.x/BeautifulSoup-3.2.0.tar.gz
-To install, after extracting the archive, `cd` into the directory and `python setup.py install` to install the module.
-
Notifications require Nofify OSD (https://launchpad.net/notify-osd), which ships with Ubuntu.
See http://www.github.com/nospampleasemam/youtube_backup for more information and the latest version.