Posted in mac
186
2:17 am, December 12, 2021

How to download music to mp3 format from youtube using youtube-dl

How to download ABGT from youtube.

youtube-dl

sudo apt install python3-pip ffmpeg

brew install ffmpeg
brew install youtube-dl

Getting this error: The operation couldn’t be completed. Unable to locate a Java Runtime that supports apt.

now can just run yourube-dl in the directory and add the video address.

youtube-dl <https://www.youtube.com/watch?v=IqM6GkndUhI>
cd "/Volumes/GoogleDrive/My Drive/Music/Above and Beyond - Group Therapy"

audio only:
youtube-dl -x –audio-format mp3 <http://www.youtube.com>
youtube-dl -x –audio-format mp3 "<https://www.youtube.com/watch?v=IqM6GkndUhI>"

youtube-dl --extract-audio --audio-format mp3 '<video URL>'
youtube-dl --extract-audio --audio-format mp3 '<https://www.youtube.com/watch?v=IqM6GkndUhI>'

<https://askubuntu.com/questions/178481/how-to-download-an-mp3-track-from-a-youtube-video>

View Statistics
This Week
11
This Month
109
This Year
109

No Items Found.

Add Comment
Type in a Nick Name here
 
Search Code
Search Code by entering your search text above.
Welcome

This is my test area for webdev. I keep a collection of code snippits here, mostly for my reference. Also if i find a good site, i usually add it here.

Join me on Substack if you want me to send you a collection of the things i have done or found or read for the week. Or follow me on twitter if you prefer, i dont post much but i probably should!

❤👩‍💻🕹

Random Quote
You want to be the best, you MUST put the long yards in! Nothing comes easy in life so stop wishing and start DOING! So many people would rather bitch and moan than help themselves. Dont be one of those negative drainers, start today, make a small change and keep going forwards with this attitude!
Unknown