Facebook Twitter RSS

How to Download Youtube Video on Linux

First you have to install youtube-dl with this command

sudo apt-get install youtube-dl



and give in your password




----------------------------------------------------------------------------------------------------------------------------------------------------



To download a video

1- Go to youtube and search the video you want to download
2- Copy the Video URL from the browser's navigation(address) bar (As shown in the image)

3- Open up terminal and type in


youtube-dl -F  {video URL}

~ Don't forget to replace '{video URL}' with the URL you copied from the browser's navigation(address) bar; as shown in the image below:


4-  If you choose to download video in format of your choice. you have one last step to follow: that is choosing the format of your choice.
When you type in the command for downloading video with format or your choice it'll give you list of different options, showing the formats and resolutions of that video.

    choose the code of one you like and type in following:

    youtube-dl -f  {format code} {video URL}


    ~ Don't forget to replace '{formate code}' with code of your choice and '{video URL}' with the URL you copied from the browser's navigation(address) bar; as shown in the image below:


    In the example shown in the image above. I've chosen video in flv format with resolution [240*400] and its code is '5' as you can see in the image.

    Wait for download finish...






    SHARE THIS POST

    • Facebook
    • Twitter
    • Myspace
    • Google Buzz
    • Reddit
    • Stumnleupon
    • Delicious
    • Digg
    • Technorati
    Author:Admin Gempak
    Jika terdapat kerosakan link atau pertanyaan sila hubungi kami. Kerjasama anda amat dihargai. Terima Kasih ^_^

    0 comments: