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
    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...

  • By
    CSS Gradients

    With CSS border-radius, I showed you how CSS can bridge the gap between design and development by adding rounded corners to elements.  CSS gradients are another step in that direction.  Now that CSS gradients are supported in Internet Explorer 8+, Firefox, Safari, and Chrome...

Incredible Demos

  • By
    Sara Soueidan’s Favorite CodePen Demos

    A few months ago, Chris Coyier shared his favorite CodePen demos right here on David's blog. A while back David asked me to share some of my favorite pens too, so here are some of the demos that have blown my mind in the past...

  • By
    jQuery topLink Plugin

    Last week I released a snippet of code for MooTools that allowed you to fade in and out a "to the top" link on any page. Here's how to implement that functionality using jQuery. The XHTML A simple link. The CSS A little CSS for position and style. The jQuery...

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!