Download YouTube videos the command line way in openSUSE linux

We can use a small nifty command line utility called youtube-dl to download our favorite YouTube videos in different resolutions as supported by YouTube. It can even download the videos that require users to sigining in to Google (for age or other restrictions) without logging in. I use openSUSE 13.1 presently and will show the steps for downloading a video in openSUSE 13.1. This utility can easily be installed in openSUSE 13.1 systems through Yast software installer. Since it is a command line tool, the method is similar in other distros as well.

Once you have youtube-dl installed in your system,  first copy the video url from YouTube (See screenshot below )
 2
Then open terminal and type:
youtube-dl -F “video url” (See screenshot below)
intit
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”
(Please note:The flag  -f is used not -F)
 4
The video will be downloaded and stored in the default video directory. Enjoy!

 

 

Written by,

Neel Kalita

Published on, November 9, 2014
Neel Kalita is a hobbyist blogger with interests in technology, science and photography. He is very enthusiastic tech user and finds deep interest in tinkering with software products. He likes to take macro shots of flowers. He is also efficient in creating digital graphic designs. Professionally, he is a food analyst and involved in quality assurance and analysis of food. He holds a PhD in Chemistry with specialization in Materials Chemistry.

Recent tweets:

FSSAI has created a video library covering numerous topics such as safe food practices, health, nutrition, adulteration, culinary heritage etc. to specialized e-learning modules including in-depth interviews with health & nutrition experts from across the globe.

How to Stop Snoring https://www.helpguide.org/articles/sleep/snoring-tips-to-help-you-and-your-partner-sleep-better.htm

The last moment rush sometimes make you more productive than ever before. #work #productivity #procrastination #TuesdayThoughts

https://neelsworld.in/technology/android/jurassic-world-alive-an-augmented-reality-ar-game-on-the-lines-of-pokemon-go/

Load More...

 

Read More such posts here

Box bumped up free Cloud Storage to 10GB!

Cloud storage giant Box  has bumped up the free storage quota to 10GB from earlier quota of 5GB. Now users can get more space for their cloud storage requirement for personal use. The leader in cloud storage Dropbox   still provides 2GB of free space but they offers...

Galaxy Note ICS 4 Update available in India now!

Galaxy Note ICS 4 Update available in India now!

Hi, I just received OTA update notification for my Galaxy Note GT-N7000 via OTA. I am downloading the update which is 319.21MB in size. The update provides TouchWiz 4.0 interface and Premium Suite. The following are the initial screenshots of the notification. So...

Indic Language support across platforms

Indic Language support across platforms

This computer age requires us to write using a PC/Mobile device every now and then. Most of us can type in the default English language input methods supported across platforms. Now a days, the operating system environments are  expanding horizons where we find...

Pin It on Pinterest

Share This