SharmV
Token Swap Specialist
2
MONTHS
2 2 MONTHS OF SERVICE
LEVEL 1
300 XP
Link:
nstalling Youtube-DL
sudo snap install youtube-dl
or
sudo apt install youtube-dl
Preparing
mkdir /tmp/channel; cd /tmp/channel
Get the URL of the channel in my case âAs I Lay Dyingâ:
Downloading
You can directly download ALL videos from a channel by using this command:
youtube-dl -f best -ciw -o â%(title)s.%(ext)sâ -v <url-of-channel>
youtube-dl -f best -ciw -o â%(title)s.%(ext)sâ -v https://www.youtube.com/channel/UC05WaqA-0OLM5Y7NmmHq1hw
Explanation
-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, for example to skip unavailable videos in a channel
-w, âno-overwrites â do not overwrite files
-o, âoutput â Output filename template, this example functions similarly to the old âtitle option
-v, âverbose â Print various debugging information
Downloading Playlists
First of all, get the playlist. It can either be the direct URL or the ID.
URL Example:
ID Example : PLCQ95L4288YTuUZ0KInDA1koNlIyMoPNO
youtube-dl -i -f mp4 âyes-playlist
Download Single Video
youtube-dl -i -f mp4
You can also download it as mp3:
youtube-dl -i âaudio-format mp3 -x
nstalling Youtube-DL
sudo snap install youtube-dl
or
sudo apt install youtube-dl
Preparing
mkdir /tmp/channel; cd /tmp/channel
Get the URL of the channel in my case âAs I Lay Dyingâ:
LoadingâŚ
www.youtube.com
You can directly download ALL videos from a channel by using this command:
youtube-dl -f best -ciw -o â%(title)s.%(ext)sâ -v <url-of-channel>
youtube-dl -f best -ciw -o â%(title)s.%(ext)sâ -v https://www.youtube.com/channel/UC05WaqA-0OLM5Y7NmmHq1hw
Explanation
-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, for example to skip unavailable videos in a channel
-w, âno-overwrites â do not overwrite files
-o, âoutput â Output filename template, this example functions similarly to the old âtitle option
-v, âverbose â Print various debugging information
Downloading Playlists
First of all, get the playlist. It can either be the direct URL or the ID.
URL Example:
youtube-dl -i -f mp4 âyes-playlist
youtube-dl -i -f mp4
youtube-dl -i âaudio-format mp3 -x