Professional Documents
Culture Documents
TUTORIALS
20 min
Firsh
This detailed guide takes you to the realm of command line tools on Windows. Fear not, I’ll be
with you along the way and teach you the youtube-dl utility from scratch. I believe it’s the best
way to download an entire Youtube channel, mainly because of its reliability and robustness. It’s
not some scammy ad-supported bloatware YouTube downloader many people use for single
videos and playlists. On the contrary, this is an advanced tool, but I try to do my best to bring the
di culty down to an intermediate level. Expect baby steps and the usual storytelling instead of
slapping you with a line of code and leaving you in the lurch!
Table of Contents
Why would you archive YouTube?
Annoying tidbits of the platform
For a better binge-watching experience
The echo chamber
How did I get into this?
Setting up youtube-dl on Windows 10
The recommended options of youtube-dl
Before you begin downloading
Download an entire YouTube channel with this youtube-dl command
Formulate the download job as a batch le
https://letswp.io/download-entire-youtube-channel/ 1/20
10/23/2019 How to Download an Entire YouTube Channel - Let's WP
It’s possible to overcome every single annoyance the YouTube platform imposes on us, by
decoupling downloading from viewing. This way you have complete control over the experience.
Why is that a good thing?
First of all, there are no ads whatsoever. While the browser extension uBlock Origin does
a fantastic job at ensuring that I don’t encounter any ads on desktop, ever, the same cannot
be said about my mobile experience. Adguard for Android is excellent, though it can’t
quite block the YouTube ads.
Your archive is portable. Take it to a place with limited or no internet. You might not want to
exhaust mobile data plans while commuting but would bene t from watching a quality
channel.
O ine performance means no buffering. Skip boring parts and seek instantly.
Language learning a cionados could download and watch videos with dual subtitles. Yes,
that means both languages shown on the screen at the same time, one at the top, one at
the bottom – PotPlayer can do this. For example, this video has both Spanish and
English subs that are not auto-generated.
Retain videos forever. Some content gets deleted from time to time. There is no guarantee
speci c channels or videos will exist 5, 10, 20 years from now! Therefore, the data
hoarder mentality dictates you should archive what you like.
Is the space on the video control bar really so scarce that the volume bar needs to hide
itself? It’s one of my pet peeves with Google’s new design trends tuck away the functional,
often-used buttons and sacri ce them on the altar of minimal material design.
What if I want to watch every video of a channel? It’s unrealistic to expect that I’ll begin every
session by in nite scrolling the videos tab for minutes to nd where I left it… Even then, how will
I know that the next video in the queue is the real next one, and not some “recommended for you”
nonsense unless they are all in a playlist?
https://letswp.io/download-entire-youtube-channel/ 2/20
10/23/2019 How to Download an Entire YouTube Channel - Let's WP
Furthermore, the watched and progress indicators are hit-and-miss at best. So many times
YouTube often forgets that I’ve already watched a video. The feature that would let you
continue where you left off doesn’t seem to remember long gone sessions. If the videos are
o ine, I guarantee that you and your video player will do a better job at tracking seen videos.
You wouldn’t cherry-pick just a handful of episodes from serial drama television series, would
you? I’ve found that I began to like some content creators so much, that I want to see ALL of
their content, in order, without even looking at the title! For me, the best way to do that is to
download each YouTube channel I love. I’ll tell you about some of these binge-worthy channels
later.
YouTube and Facebook (and others) employ specialized algorithms to guess what YOU might
like , and therefore not every content from your subscriptions or friends reaches you. And that
is an understatement. They use machine learning (AI), freaking TensorFlow neural networks to
analyze your habits – this is a bit disturbing if you ask me.
For content creators, this is discouraging since they reach smaller and smaller slice of their
audience and sometimes have to resort to paid promotion to target their fan base. As a content
consumer, if you rely on automatic recommendations, you get stuck in an echo chamber that
keeps re ecting what you like and leaves little to no room for exploration. When you download a
YouTube channel, every single video the content creator ever made is there, without biases. If you
discover a great channel a bit late, you can still go back in time and re-live their videos
sequentially.
Back then, if you typed just the letter r into YouTube search, his name, ray william
johnson would come up as the rst result. Since then, my taste shifted, and I watch and
download channels featuring more sophisticated intellectual content.
The quality and production value increased immensely over the past decade. Due to this, many
education or entertainment channels often beat regular TV programming. Surely the format is
different, and the videos are shorter. However, they carry tremendous value, which is offered for
free.
https://letswp.io/download-entire-youtube-channel/ 3/20
10/23/2019 How to Download an Entire YouTube Channel - Let's WP
The earliest time I decided to download a whole YouTube channel was when I rst went skiing. I
wanted to augment the teachings of my coach with a virtual one. So I took the channel of Ski
School by Elate Media with me on the trip. To illustrate my point, I didn’t have an unlimited
data plan, and even if I did, it would have been slow to watch the ski lessons. The experience
opened my eyes to making content from channels more convenient to follow. I look forwardto
bringing some of my favorite channels with me the next time I y long haul, as in- ight
entertainment is usually subpar.
FFmpeg for combining video with audio with the best quality
https://letswp.io/download-entire-youtube-channel/ 4/20
10/23/2019 How to Download an Entire YouTube Channel - Let's WP
1 Create a folder for these tools and your downloads, for example, C:\YouTube
3 Extract the FFmpeg archive and also move the bin\ffmpeg.exe and bin\ffprobe.exe les
into the C:\YouTube folder
The last time I taught you how to download an entire website with wget, and again we need to
add another tool to the environment variables. It’ll ensure system-wide availability of the
youtube-dl command and everything else we add to the YouTube folder later.
3 Click New and add the path of that folder, such as C:\YouTube
5 Verify it works by hitting Windows + R again and pasting cmd /k youtube-dl – it should
not say ‘youtube-dl’ is not recognized
-format
https://letswp.io/download-entire-youtube-channel/ 5/20
10/23/2019 How to Download an Entire YouTube Channel - Let's WP
The format parameter is the heart of this whole guide. The combination will rst look for the
best video at or above full HD width, and only resort to the next best formats if the desired
quality is not available. I’ve been recommending this quality setting on Reddit and StackOver ow,
after nding that by default, youtube-dl prefers a lower resolution video just because it has a
higher bitrate than the larger resolution version. However, it’s not a bug, as con rmed by the
developer. Regarding audio, I was not so picky. Finally, the default /best at the end is just there for
videos where video and audio don’t exist separately.
--download-archive archive.txt
Use this to avoid re-downloading already grabbed content. Each successful download gets
noted in the le so youtube-dl will skip them the next time. This setting is essential if you want to
update your archive periodically. The archive le will reside in your YouTube folder and will serve
as a log or history for every download you perform, on any channel.
-output
Speaking from experience, I can say that it’s helpful to save the output like this. Else it’s just
chaos. The above means that:
The video title is included (without special characters, see the next option).
You can format the saved video’s lename however you want.
--restrict-filenames
This should be common sense because foreign letters in the video titles can con ict with the
allowed characters on the system.
--merge-output-format mkv
Most often, video and audio streams will arrive separately, so it’s only logical you get to decide
the output container. FFmpeg will create this, and Matroska (.mkv) seems like a good choice.
--ignore-errors
Let’s make things unstoppable! It’s especially useful when you set out to download a huge
YouTube channel and leave your computer on for the night. You don’t want to wake up seeing
that it stopped early 😢 because of some silly error, such as this bummer:
https://letswp.io/download-entire-youtube-channel/ 6/20
10/23/2019 How to Download an Entire YouTube Channel - Let's WP
--no-playlist
It’s very easy to accidentally use a link that refers to a playlist in addition to the single video you
chose. I use this in the single video download script, to prevent unintentionally downloading an
entire playlist.
--write-sub
--embed-subs
If instead, you want to embed subtitles in the video itself, this is the switch to use.
--sub-lang es,en
If you want subtitles, this is how you specify the language. This is for Spanish and English, if
available.
Download speeds aren’t super fast either. Sometimes they are a crawl, I’m not sure why. Perhaps
the speed is optimized for streaming at the pace of viewing. It all depends on the content and
how popular it is. I presume that YouTube duplicates trending videos across multiple servers.
Create a new le in Notepad or a text editor, and place the below snippet in it. Save it as
something like job-colinfurze.bat in the C:\YouTube folder, next to youtube-dl. All that’s left is
to run it!
1 cd /D "%~dp0" CLI
2 youtube-dl https://www.youtube.com/user/colinfurze --format
("bestvideo[width>=1920]"/bestvideo)+bestaudio/best --download-archive archive.txt --
output %%(uploader)s/%%(upload_date)s.%%(title)s.%%(id)s.%%(ext)s --restrict-filenames --
merge-output-format mkv --ignore-errors
3 PAUSE
The double percent signs are for escaping in a batch le. When calling the command
directly, you need only a single percent sign.
The rst line ensures the videos will be downloaded in the folder of the batch le when it is
run as a scheduled task. You’ll see this in every snippet here.
The PAUSE part helps it remain open once nished so you can assess what happened.
Otherwise, it instantly closes. When scheduled, it doesn’t cause any harm.
You can either double click the batch le, or just enter its name (in this example
job-colinfurze ) in the Run dialog ( Windows + R ). Get a taste of how easy this is to use
after the guided setup!
You’ll learn in the next section how to reuse the con guration if you want to download more
than one YouTube channel.
By having this, you don’t need to remember to use these options and your command becomes
shorter in the batch le. For example, in the job-EngineeringExplained.bat this would be:
1 cd /D "%~dp0" CLI
2 youtube-dl https://www.youtube.com/user/EngineeringExplained --config-location config.txt
PAUSE
3
See? Much nicer! Use this snippet as a template to create a batch le for every YouTube channel
you want to download. Then you can run these jobs individually or even schedule them (see
later).
It’s the icing on the cake that this tool works with over a thousand sites! Seriously, try it! It’s the
gift tool that keeps on giving. Maybe not to archive entire accounts from lesser-known platforms,
but it’s fabulous for downloading single videos! The point is that the tool gures out the actual
URL to the video le. You don’t need to care about it, just use the link you’d share with a friend.
This is where a little setup and using a con g le will pay off. You’ll see the ^ character in the
examples from now on. In case you are wondering, that tells the batch le that new lines are still
part of the same command. Create a new text le called dl-single.bat in your C:\YouTube
folder with the following content:
With that out of the way, anytime you want to download a single video from just about any site,
you’d:
1 Hit Windows + R
2 Write dl-single (or it’ll be there from last time) and press Enter
https://letswp.io/download-entire-youtube-channel/ 9/20
10/23/2019 How to Download an Entire YouTube Channel - Let's WP
if you download a YouTube playlist of 100 videos – each from a different owner – that’s going to
have a detrimental impact on your neatly organized YouTube folder. Therefore, I advise using the
playlist creator and playlist name as the folder instead of the channel in the output option. If you
want this, then create a text le in C:\YouTube , call it dl-playlist.bat and add the following to
it:
From now on, whenever you want to download a YouTube playlist, just:
1 Hit Windows + R
2 Write dl-playlist and press Enter – it might already be there as a recent command if
you press Down
Inside C:\YouTube folder, create the dl-music.bat le with the following snippet. It downloads
or extracts the audio track of one single music video at a time, and places it in a Music
subfolder.
7 --output Music/%%(title)s.%%(id)s.%%(ext)s ^
8 --format bestaudio/best ^
--extract-audio ^
9
--no-playlist ^
10
!video!
11
PAUSE
12
The options differ for music playlists. Each playlist will have its own folder inside Music. Save it
as dl-mplaylist.bat after pasting this into it:
https://letswp.io/download-entire-youtube-channel/ 10/20
10/23/2019 How to Download an Entire YouTube Channel - Let's WP
1 Hit Windows + R
2 Write dl-music or dl-mplaylist for singles and playlists, respectively, and press Enter
Don’t be alarmed that you’ll likely get no mp3 les because the new trend is a codec called
Opus . A decent music player like foobar2000 will have no problem with this new format. It’s
not the scope of this article to help transcode anything into to mp3, not that you should.
It’s a relatively network-intensive task, so schedule it outside the hours you’re conferencing
or need the bandwidth or low latency.
If the process is interrupted, it’ll continue without any problems the next time. It’ll even
resume a half- nished download!
You need to decide how much delay you tolerate based on the number of channels, their
average update frequency, and your watching habits. The more often you run it, the less it
has to download at once. Fortunately, a job runs silently in the background, so an annoying
command prompt popup is out of the question.
The batch les for downloading a channel are in a way that they work with both manual and
automatic start. This part of the guide assumes they already work for you, the initial run is
complete, and every video from said channels have been downloaded. Therefore, you are only
waiting for new videos.
https://letswp.io/download-entire-youtube-channel/ 11/20
10/23/2019 How to Download an Entire YouTube Channel - Let's WP
4 Set up the Trigger (timing) however it’s most suitable for you
6 Browse for a job’s .bat le, such as the C:\YouTube\EngineeringExplained.bat , and click
Open
8 Once there, inside Security options, switch to Run whether user is logged on or
not. Oddly, this will ensure the job runs hidden from view.
9 When you click OK, you need to provide your Windows password. If you don’t have one,
you might need to create one. It doesn’t have to make you miserable if you like the no-
password login. It’s possible to skip the Windows 10 login screen ( Windows + R and
netplwiz ) even if you have a password.
If you don’t want individual control when automating your jobs, the following script bundles
them. Therefore, one scheduled task is enough. Call it all-youtube-jobs.bat and put it into
the C:\YouTube folder, right where the jobs live. Make sure that the lename of each individual
job for a YouTube channel you wish to automatically download has the job- pre x. That’s how
this task will nd them.
https://letswp.io/download-entire-youtube-channel/ 12/20
10/23/2019 How to Download an Entire YouTube Channel - Let's WP
1 cd /D "%~dp0" CLI
2 for %%x in (job-*.bat) do (
3 @echo Calling %%x...
4 @echo | call %%x
5 )
1 youtube-dl -U CLI
While you can run that manually anytime from a command prompt ( Windows + R , and run cmd
), perhaps it’s worth setting up a scheduled task. You can follow the previous instructions, as
they are similar. One caveat: for the Action > Start a program, specify the full path like
this: C:\YouTube\youtube-dl.exe and for Arguments add -U and that’s it.
These are the batch les that include the custom code, and the con g le, but you still need to:
Get the software, as we aren’t redistributing them. Without those, the batch les won’t
download anything from a YouTube channel.
Change the job-* les to download what you want, as they are just examples. Remember,
one of them uses the con g le, the other has the full command.
DOWNLOAD
https://letswp.io/download-entire-youtube-channel/ 13/20
10/23/2019 How to Download an Entire YouTube Channel - Let's WP
Now that you have o ine YouTube videos, you might want a remarkable video player. After all,
we strive to improve upon the YouTube experience. A prime candidate for this task on the
desktop is PotPlayer (free!). It can open every video in the same folder together as a playlist.
Also, it’s very well con gurable (think about mouse and keyboard shortcuts) and looks beautiful
at the same time, thanks to skins. A serious video watcher will appreciate the exibility. This is
PotPlayer with the Kardox skin playing Jeff Cavaliere’s channel (just about my everyday
activity):
On the other hand, I recommend VLC only for Android, as it’s too industrial/raw for me on the
desktop.
So, there you have it! Now you know how to download a YouTube channel, with all the content
you want. Are you ready to binge? I hope I didn’t open a can of worms… Because it’ll require even
more of your time to watch it all, now that you know how much of it is out there. As you might
imagine, it was challenging to write this article because of the plethora of distractions from
YouTube itself.
Like Share One person likes this. Sign Up to see what your friends like.
https://letswp.io/download-entire-youtube-channel/
Related Posts 14/20
10/23/2019 How to Download an Entire YouTube Channel - Let's WP
Related Posts
TUTORIALS
TUTORIALS
TUTORIALS
https://letswp.io/download-entire-youtube-channel/ 15/20
10/23/2019 How to Download an Entire YouTube Channel - Let's WP
Leave a Reply
Your email address will not be published. Required elds are marked *
Comment
Name *
Email *
Website
Save my name, email, and website in this browser for the next time I comment.
Please note that this is required to show your pending comment.
POST COMMENT
Firsh
I’m the frontend developer of Granth team's secret project. Justified Image Grid, a top-selling
gallery plugin gifted me six years of WordPress expertise and troubleshooting skills. I like to hone
my abilities in time and project management. You'd find me reading and writing while chilling in
my hammock.
ALL POSTS
https://letswp.io/download-entire-youtube-channel/ 16/20
10/23/2019 How to Download an Entire YouTube Channel - Let's WP
PREVIOUS NEXT
Buy Yourself Time: Interview with Ben from Element… 5 Ways to Change a Website to Your Liking
Get secret tips and valuable details about making your site more successful.
Name
Email address
SIGN UP
Follow Us!
Let's WP
54 likes
Recent Posts
We Recommend
https://letswp.io/download-entire-youtube-channel/ 17/20
10/23/2019 How to Download an Entire YouTube Channel - Let's WP
GET IT FREE
https://letswp.io/download-entire-youtube-channel/ 18/20
10/23/2019 How to Download an Entire YouTube Channel - Let's WP
Monthly Archives
September 2019 (1)
August 2019 (5)
July 2019 (4)
June 2019 (3)
May 2019 (1)
April 2019 (4)
March 2019 (5)
February 2019 (5)
January 2019 (6)
December 2018 (8)
November 2018 (9)
October 2018 (10)
September 2018 (9)
Tags
Archival Attachment Authors AutoHotkey AWS Child Themes CLI Cloud are CSS
Elementor Email Icon Set Images Interview JavaScript Links Mobile Permalinks
PHP Plugin Productivity Raspberry Pi Server Slider SVG Themes
TinyMCE Translate Upload WordPress
Email address
SIGN UP
Get secret tips and valuable details about making your site more successful.
You may even try our premium products before they launch.
https://letswp.io/download-entire-youtube-channel/ 19/20
10/23/2019 How to Download an Entire YouTube Channel - Let's WP
CATEGORIES
Tuts Tech Snippets Dev Tips Reviews Freebies Misc
LEVELS
https://letswp.io/download-entire-youtube-channel/ 20/20