how to use youtube-dl for downloading videos?

raman kumar

Member
Joined
Aug 3, 2020
Messages
261
Reaction score
15
Credits
2,567
how to use youtube-dl for downloading videos? i have installed youtube-dl in debian 10 buster, but i don't know how to use it and what are its use.
 


I've never used it before, but have you taken a look at the man-page for it?
Bash:
man youtube-dl

The man-page for it can also be found online here:

It seems fairly trivial.....

To download a video, you run:
Bash:
youtube-dl {video-url}
Where {video-url} is the url of a video on youtube.
e.g.
Bash:
youtube-dl https://www.youtube.com/watch?v=4sXtRCnNe2c

And it has a few other options for extracting the audio from videos, or listing the formats that are available.
 
how to download in HD quality vedio?
If you read the ostechnix .com page provided by @arochester in the above post you will see that it explains exactly how to choose the quality of the video download.
Here is another:

You will only be able to download the video in the highest quality which is offered.
 

Members online


Top