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
    Image Manipulation with PHP and the GD Library

    Yeah, I'm a Photoshop wizard. I rock the selection tool. I crop like a farmer. I dominate the bucket tool. Hell, I even went as far as wielding the wizard wand selection tool once. ...OK I'm rubbish when it comes to Photoshop.

  • By
    Table Cell and Position Absolute

    If you follow me on Twitter, you saw me rage about trying to make position: absolute work within a TD element or display: table-cell element.  Chrome?  Check.  Internet Explorer?  Check.  Firefox?  Ugh, FML.  I tinkered in the console...and cussed.  I did some researched...and I...

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!