I always use youtube for getting information I need.
What I want is a script or a command that grabs and downloads all videos from a given channel.
NOTE: I tried
youtube-dl but with no success.
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It only takes a minute to sign up.Sign up to join this community
youtube-dl command to download videos straight off of YouTube.
pip to install from the official
sudo apt install pip pip install youtube-dl
Or, use the Debian package manager and an appropriate PPA (source):
sudo add-apt-repository ppa:nilarimogard/webupd8 -y sudo apt update sudo apt install youtube-dl
If you're getting errors, try upgrading
youtube-dl to the latest version (depending on the method of installation):
pip install --upgrade youtube-dl sudo apt update && sudo apt upgrade youtube-dl
To download an entire channel
To download all videos on a playlist
To download a YouTube video as an MP3
youtube-dl -x --audio-format mp3 --audio-quality 320K <VIDEO_URL>
Use this for downloading all the videos from a youtube channel:
Open the terminal and type:
youtube-dl -f best -citw -v <url-of-channel>
where <url-of-channel> is replaced by the URL of the channel.
Note: if you are downloading a lot of videos, you should change directories to the directory where you want to save the videos before you start downloading them.
-f, --format FORMAT video format code. The special name "best" will pick the best quality. -c, --continue force resume of partially downloaded files . -i, --ignore-errors continue on download errors . -t, --title use title in file name (default) -w, --no-overwrites do not overwrite files -v, --verbose print various debugging information
Note: I usually prefer this:
youtube-dl -f 18 url/complete-playlist-url
You can try http://clipgrab.org/ , it works for me.
Personally, I use Uget as download manager and Youtube Multi downloader to generate links, and from Uget gui you go to File->Batch downloads->Clipboard batch.
you can install uget by typing
sudo apt-get install uget
I use jDownloader 2 (available for windows, linux, mac, ...) for downloading complete youtube channels. be sure to have the latest version and specify the download-folder in the settings.
then simply paste the channel url in the "linkgrabber" tab and press ’process playlist’.
wait until the progress-symbol on the bottom right has finished moving. you're able to uncheck unwanted content in the right window, for example audio files. you are able to specify what resolution you want to download for all selected videos (the standard setting is maximum resolution).
If you want to choose a more light weight resolution select the concerning videos by holding the Ctrl Key or press Ctrl + A to select all videos. Then right click on a selected video and go to youtube.com -> change variant -> change video variant
by holding Ctrl you can choose additional variants.
then right-click one of the listed videos and choose either 'start all downloads' or 'start downloads' for selected videos only.
while downloading, you can configure the maximum simultaneous downloads and connections in the bottom right drop-down menu. For example, I choose 1 download at the same time with maximum of 5 connections per hoster. furthermore, you're able to set bandwith settings in the same menu.
if you want to download another channel, it might be useful to change the download folder before downloading, right-click on selected videos and go to Properties -> Set Download Directory screenshot: change download directory for selected videos
you can use youtube-dl but it needs the latest version. and in the distro packages it rarely has. so you need to go to for the how to install;
this is how to install youtube-dl properly (from the website above)
remove the current version from the distro type;
sudo apt-get remove -y youtube-dl
then, to install from the official website type;
sudo wget https://yt-dl.org/downloads/latest/youtube-dl -O /usr/local/bin/youtube-dl sudo chmod a+rx /usr/local/bin/youtube-dl hash -r
then you can download an entire playlist with
youtube-dl <URL PLAYLIST>