MathCurvesSurfacesWallpaper GroupsGallerySoftwarePOV-Ray
ProgramingLinuxPerl PythonHTMLCSSJavaScriptPHPJavaLang DesignEmacsUnicode ♥

Linux Command to Download Youtube Video

,

Discovered a Linux command to download YouTube videos. “youtube-dl”.

Install: sudo apt-get install youtube-dl

Example of using: youtube-dl "http://www.youtube.com/watch?v=9403-9CptH8"

For some reason, i got this error on my VirtualBox, but a friend runs fine on Linux.

youtube-dl "http://www.youtube.com/watch?v=9403-9CptH8"
[youtube] Setting language
[youtube] 9403-9CptH8: Downloading video webpage
[youtube] 9403-9CptH8: Downloading video info webpage
[youtube] 9403-9CptH8: Extracting video information

ERROR: unable to download video
xah@xah-VirtualBox ◆  2012-10-07 ◆ 16:09  ◆ ~

The funny thing is, if you man youtube-dl, you see that it's supposed to be a perl script. But if you actually look at the code cat `which youtube-dl`, it's a python script. LOL. Perl losers.

thanks to “meocat”.

blog comments powered by Disqus