Tuesday, June 4, 2013

Download Youtube Videos in Ubuntu Using youtube-dl

Need to download a Youtube video in Ubuntu? Whether it's laughing babies you want to watch offline, or that cat video you just must save for posterity, grabbing videos off of Youtube is a cinch with youtube-dl.

Simply open a terminal, type

sudo apt-get install youtube-dl

then

youtube-dl -U

and you're on your way to hours of offline Youtube delight.

Some helpful hints:


  • youtube-dl "http://www.youtube.com/watch?v=foobar". The video will be saved to the file foobar.flv


  • To save the video with it's title as the file name, and the associated extension, try   youtube-dl -o "%(title)s.%(ext)s" http://the_youtube_address     
    • Note: this also works with playlists



Any questions? Let me know!

No comments:

Post a Comment