Downloading YouTube videos in Ubuntu

Source: Internet
Author: User
Today, I will introduce you to YouTube-dl, a tool used to download videos from youtube in the Ubuntu environment. Youtube-dl is a command line program written in Python. Its usage process is as follows: 1. installer sudoaptitudeinstallyoutube-dl2. use the command line option. /youtube-dl-h can be viewed. Commonly Used: *-o download video file save name *-u,-p

Today, I will introduce you to YouTube-dl, a tool used to download videos from youtube in the Ubuntu environment.

Youtube-dl is a command line program written in Python. Its usage process is as follows:

1. Installer
Sudo aptitude install youtube-dl

2. command line options
You can view the./youtube-dl-h file, which is commonly used as follows:
*-O the name of the downloaded video file
*-U,-p user name and password. Some videos may need to be downloaded by registered users on the YouTube website.

3. Use instances

Youtube-dl "http://www.youtube.com/watch? V = foobar"

Download and save it as foobar. flv

Youtube-dl-o vid. flv "http://www.youtube.com/watch? V = foobar"

This will download the video file named vid. flv.

Youtube-dl-u myusername-p mypassword "http://www.youtube.com/watch? V = foobar"

If you need to log on and download

4. Play a video
Mplayer, vlc, and so on.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.