

# Option: How many times should the script retry the download if wget fails for # The script will always prefer to download the highest resolution video format # definition 640x380 and "itag=17" which is mobile resolution 144p (176x144). # script will look for the next resolution. # multiple values just in case the highest quality video is not available, the # Option: what visual resolution or quality do you want to download? List # work on the most players like Android, iPod, iPad, iPhones, VLC media player

# in the YouTube URL so you can choose mp4, webm, avi or flv. # Option: what file type do you want to download? The string is used to search # $2 Prefix to the file name of the video (optional) # OS Support : Linux, Mac OSX, OpenBSD, FreeBSD or any system with perl # ,:, Download YouTube videos and music using wget copyleft if you would like to learn more.First, if you don't have wget, install it: sudo apt-get install wget Read our article explaining copyright vs. Copyleft: Copyleft grants anyone the right to reproduce, distribute, and modify the work, as long as the same rights apply to derivative content.Creative Commons: Creative Commons applies to works for which the artist has retained copyright, but has given the public permission to reproduce and distribute the work.

No one owns the video, meaning members of the public can reproduce and distribute the content freely.

