Downloading youtube video by CLI in Ubuntu

群星-《寶記正傳Part 1》MV

I came across this song the other day in a local pub with old buddies, so I did a youtube search and turns out it was in youtube, like it so much I think it can go to my video list on my new Nexus 7 FHD.

There are lots of tools to download youtube video, but don’t we just love CLI?

youtube-dl is the tools.

> sudo apt-get install youtube-dl
you will need to make sure it is in the latest version,
> sudo youtube-dl –update

and download with:
> ~/youtube-dl
[youtube] Setting language
[youtube] wGYXp563FKM: Downloading video webpage
[youtube] wGYXp563FKM: Downloading video info webpage
[youtube] wGYXp563FKM: Extracting video information
[download] Destination: 群星-《寶記正傳Part 1》MV-wGYXp563FKM.mp4
[download] 100.0% of 149.55MiB at 309.02KiB/s ETA 00:00

I am now enjoying it on my devices!