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

  • By
    7 Essential JavaScript Functions

    I remember the early days of JavaScript where you needed a simple function for just about everything because the browser vendors implemented features differently, and not just edge features, basic features, like addEventListener and attachEvent.  Times have changed but there are still a few functions each developer should...

  • By
    Create Namespaced Classes with MooTools

    MooTools has always gotten a bit of grief for not inherently using and standardizing namespaced-based JavaScript classes like the Dojo Toolkit does.  Many developers create their classes as globals which is generally frowned up.  I mostly disagree with that stance, but each to their own.  In any event...

Incredible Demos

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!