Header Ads Widget

Ab initio Calculations Using Wien2k Code

Last Posts

10/recent/ticker-posts

How to download a video from youtube on linux using command line:

**************************************************************************
.
1/ Install the package " youtube-dl " by the command ( sudo apt-get install youtube-dl or sudo zypper youtube-dl )
.
2/ Then open terminal and type:
youtube-dl -f video url
.
The -f flag is used to list out all the available formats and resolution of the video against some numbers. In this example, the highest resolution is (1280×720) is defined by the number 22.
.
We will download in this resolution by typing
youtube-dl -f 22 “video url”
.
3/ Example:

youtube-dl -f 22 https://www.youtube.com/watch?v=71CykvkugUg

 

Post a Comment

0 Comments