How to Download a YouTube Video or Channel

By  on  

The ability to download media on the internet almost feels like a lost art. When I was in my teens, piracy of mp3s, movies, and just about everything else via torrents and apps like Kazaa, LimeWire, Napster, etc. was in full swing. These days sites use blob URLs and other means to prevent downloads. Luckily we have tools like yt-dlp to download individual YouTube videos or entire channels of content.

To download an entire channel, you can use yt-dlp:

yt-dlp https://www.youtube.com/@beetlejuicearchives3490

If you're like me and only care for the audio, you can use a few more arguments:

yt-dlp -x --audio-format mp3 https://www.youtube.com/@beetlejuicearchives3490

youtube-dl used to be the standard for downloading YouTube videos but yt-dlp seems to have taken the throne. YouTube has such a wealth of information on just about anything, be sure to download content for travel, long walks, or any other reason!

Recent Features

Incredible Demos

  • By
    Display Images as Grayscale with CSS Filters

    CSS filters aren't yet widely supported but they are indeed impressive and a modern need for web imagery.  CSS filters allow you to modify the display of images in a variety of ways, one of those ways being displaying images as grayscale. Doing so requires the...

  • By
    MooTools ContextMenu Plugin

    ContextMenu is a highly customizable, compact context menu script written with CSS, XHTML, and the MooTools JavaScript framework. ContextMenu allows you to offer stylish, functional context menus on your website. The XHTML Menu Use a list of menu items with one link per item. The...

Discussion

  1. This is super helpful, David! I’ve used youtube-dl in the past but didn’t realize yt-dlp had become the go-to tool now. The examples you shared make it really easy to follow, especially the audio-only option for mp3 downloads. I also appreciate the bit of nostalgia you added about the old Napster/Kazaa days — it really puts things into perspective on how far media access has come. Looking forward to trying yt-dlp for organizing my own offline playlists!

  2. kartofelek007

    And you can download a few videos at once.

    1) in the same folder where you have yt-dlp.exe create file for example list.txt where you put urls to videos:

    https://www.youtube.com/watch?v=.....
    https://www.youtube.com/watch?v=nXeEQ...
    https://www.youtube.com/watch?v=.....
    

    2) save, then run this command:

    ./yt-dlp.exe -a list.txt -x --audio-format mp3 --audio-quality 0

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