Tuesday, May 21, 2024
 Popular · Latest · Hot · Upcoming
7
rated 0 times [  7] [ 0]  / answers: 1 / hits: 3162  / 2 Years ago, fri, july 8, 2022, 4:29:08

There is any good program to download YouTube videos? I am using Ubuntu 14.04 32-bit.


More From » downloads

 Answers
1

To install youtube-dl:




  • Recommended way (latest version):




    1. Open a terminal with Ctrl+Alt+T or searching Terminal in the dash.

    2. Install youtube-dl with this command (you'll be prompted for your password):



      sudo wget https://yt-dl.org/downloads/latest/youtube-dl -O /usr/local/bin/youtube-dl && sudo chmod a+x /usr/local/bin/youtube-dl


  • Not recommended way (older version):




    1. Open a terminal with Ctrl+Alt+T or searching Terminal in the dash.

    2. Install youtube-dl with this command (you'll be prompted for your password):



      sudo apt-get install youtube-dl







To use youtube-dl:




  1. To select where to save the video, you can follow these steps:


    • Type cd on the terminal.

    • Press Space

    • Drag the folder from File Manager and drop it on the terminal.

    • If you skip this step, the video will be saved on your home folder.


  2. To download the video you can use one of these procedures:



    2.1. Run youtube-dl video_url where video_url is the URL of the video.



    2.2. If you want to download many videos, you can follow these steps instead of 2.1:




    • Run the below command:



      xargs youtube-dl

    • Repeat the following procedure for each link:


      • Paste a link.

      • Press Enter


    • Press Ctrl+D



    2.3. If do you have a plain text file with a list of links, you can download them this way:




    • Type cat on the terminal.

    • Press Space

    • Drag the file form the File Manager and drop it on the terminal.

    • Press Space

    • Type | xargs youtube-dl

    • Press Enter


  3. Now the video(s) will download to the selected folder.







Some final thoughts:




  • On the method 2.3 the final command should look like this:



    cat '/home/foo/Desktop/myawesomevideos.txt' | xargs youtube-dl

  • You can also use the URL of a channel and youtube-dl will save the entire channel.

  • You can update youtube-dl with sudo youtube-dl -U

  • You can see all the options of youtube-dl with youtube-dl --help






Thanks to user185719 and Michael Grünewald for their contributions to this answer.


[#20486] Friday, July 8, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
azaaburge

Total Points: 266
Total Questions: 85
Total Answers: 109

Location: Djibouti
Member since Sat, Oct 29, 2022
2 Years ago
azaaburge questions
Thu, Jun 2, 22, 23:28, 2 Years ago
Sun, Oct 17, 21, 05:20, 3 Years ago
Fri, Jun 25, 21, 16:22, 3 Years ago
;