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
    Face Detection with jQuery

    I've always been intrigued by recognition software because I cannot imagine the logic that goes into all of the algorithms. Whether it's voice, face, or other types of detection, people look and sound so different, pictures are shot differently, and from different angles, I...

  • By
    MooTools Window Object Dumping

    Ever want to see all of the information stored within the window property of your browser? Here's your chance. The XHTML We need a wrapper DIV that we'll consider a console. The CSS I like making this look like a command-line console. The MooTools JavaScript Depending on what you have loaded...

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!