Google Plus

Download Youtube videos from command line

Do you like to download youtube video easy way ? Now under debian and ubuntu using  a magic command, you will be able  to download the movies easy way  from youtube website.

Follow the steps bellow to see how to do this .



first we have to isntall youtube tool downloader with

unixmen@unixmen-desktop:~$ sudo apt-get  install youtube-dl


now browse the website and download the link of your movie with , in my exampel i have downloded some videos of Call of Duty 5

to  Download  hight  Quality  Video   add  option -b  like  :

youtube-dl  -b  http://www.youtube.com/watch?v=d2ObtqZu8Nw&feature=popular




Output :

[1] 7271unixmen@unixmen-desktop:~/Download/amarok-webui$ Retrieving video webpage... done.Extracting URL "t" parameter... done.Requesting video file... done.Video data found at http://v17.lscache6.c.youtube.com/videoplayback?ip=0.0.0.0&sparams=id%2Cexpire%2Cip%2Cipbits%2Citag%2Cratebypass&fexp=901700&itag=5&ipbits=0&sver=3&ratebypass=yes&expire=1257984000&key=yt1&signature=C46617C680164BDD061C35F1334082A55CFEFB7B.D2D92D0DC654B3E1C101609CD55F7AD7947C23C4&id=77639bb6a66ef0dcRetrieving video data: 100.0% (   4.97M of 4.97M) at  283.02k/s ETA 00:00 done. Video data saved to d2ObtqZu8Nw.flv[1]+  Done                    youtube-dl http://www.youtube.com/watch?v=d2ObtqZu8Nw


you can open the file with VLC of winFF

For questions please refer to our Q/A forum at : http://ask.unixmen.com

  • http://twitter.com/nithinsr Nithin

    To download the high definition video [code]youtube-dl -b [/code]
    example: [code]youtube-dl -b http://www.youtube.com/watch?v=d2ObtqZu8Nw&feature=popular/code

  • aperson

    [code]video=$(ls /tmp | grep -e Flash\\w*)

    cp /tmp/$video ~/video.flv[/code]

    I don\’t see what\’s so hard about copying a file from your /tmp is. Granted, that just works for firefox.

  • pirat9

    Thanks Nithin , i will add your remark

  • http://www.arasane.com youtube videos

    copying a file from your /tmp is. Granted, that just works for firefox.