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
    Conquering Impostor Syndrome

    Two years ago I documented my struggles with Imposter Syndrome and the response was immense.  I received messages of support and commiseration from new web developers, veteran engineers, and even persons of all experience levels in other professions.  I've even caught myself reading the post...

  • By
    CSS 3D Folding Animation

    Google Plus provides loads of inspiration for front-end developers, especially when it comes to the CSS and JavaScript wonders they create. Last year I duplicated their incredible PhotoStack effect with both MooTools and pure CSS; this time I'm going to duplicate...

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!