Download a YouTube Channel’s Videos

By  on  
YouTube

YouTube is an endless source of entertainment, be it stuff you're proud to share you like or stuff you would rather others not know about (see: David's history of watching old WWE Royal Rumbles).  I watch a lot of YouTube in hotels and on flights when I don't have internet access, so I use youtube-dl to download YouTube videos; it's quick, easy, and makes online content available offline.

While youtube-dl allows you to download single videos in a variety of formats, I wanted to push youtube-dl harder to see if I could use the utility to download all of the Script & Style Show's content to build a RSS feed for iTunes.  I found it's very easy to download a YouTube channel's videos with one command:

# Download channel's videos in best format
youtube-dl -f best -citw -v https://www.youtube.com/channel/UCYVTUh34eDCAXrB5iIWH4yA

For my purposes I want to immediately convert the videos to MP3:

# Download channel's videos in MP3 format
youtube-dl -f mp3 -citw -v https://www.youtube.com/channel/UCYVTUh34eDCAXrB5iIWH4yA

youtube-dl is an amazing utility, especially when you consider all of the options available to the user.

Recent Features

Incredible Demos

  • By
    Record Text Selections Using MooTools or jQuery AJAX

    One technique I'm seeing more and more these days (CNNSI.com, for example) is AJAX recording of selected text. It makes sense -- if you detect users selecting the terms over and over again, you can probably assume your visitors are searching that term on Google...

  • By
    Introducing LazyLoad 2.0

    While improvements in browsers means more cool APIs for us to play with, it also means we need to maintain existing code.  With Firefox 4's release came news that my MooTools LazyLoad plugin was not intercepting image loading -- the images were loading regardless of...

Discussion

  1. Brian De Sousa

    Yes! “WWF” Royal Rumbles… The good ole days of wrestling!

Wrap your code in <pre class="{language}"></pre> tags, link to a GitHub gist, JSFiddle fiddle, or CodePen pen to embed!