Posted in mac
3
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
45
This Month
77
This Year
0

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
therock Somewhere along this crazy road I learned (often times the hard way) the most important things I can do is be authentic, trust my gut, be the hardest worker in the room, celebrate the mistakes, be a grateful man and always remember that it's nice to be important, but it's more important to be nice.
The Rock