Thursday, May 2, 2024
 Popular · Latest · Hot · Upcoming
7
rated 0 times [  7] [ 0]  / answers: 1 / hits: 13294  / 1 Year ago, fri, april 21, 2023, 11:14:00

Is there a way to search and then download from YouTube, with the situation that I only need to download the audio only, not the video.


More From » flash

 Answers
4

An alternative to youtube-dl has been described here: New Command Line YouTube Player And Downloader With Local Playlists Support: mps-youtube. The article is quite detailed but just to quote what seems relevant to your question:




mps-youtube is a new tool which, besides being able to download YouTube videos (either the whole video or just the audio), can also search and play YouTube videos and create local playlists, all from the command line.

By default, this is basically a YouTube audio player (and downloader), but you can enable (external) video playback from its options.




This program needs the presence of python-pip and mplayer (both of which installable by apt-get). Then, run sudo pip install mps-youtube and you're done.



You can read more about mps-youtube here.



Notes




  • this program downloads just the audio if you so wish and hence you save on bandwidth: instead of downloading a video and then extracting the audio at your end, you download just the audio.

  • if you don't wish to install all the recommends suggested by sudo apt-get install python-pip use sudo apt-get install --no-install-recommends python-pip. That works just as well (for the specific purpose of installing mps-youtube).


[#27009] Sunday, April 23, 2023, 1 Year  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
utschang

Total Points: 357
Total Questions: 120
Total Answers: 119

Location: Croatia
Member since Sat, May 2, 2020
4 Years ago
utschang questions
Mon, Aug 30, 21, 14:09, 3 Years ago
Tue, May 17, 22, 20:44, 2 Years ago
Sun, Jul 11, 21, 23:54, 3 Years ago
Tue, Sep 7, 21, 04:23, 3 Years ago
;