It provides you to download youtube videos as in mp3 format. Also you can download a list of video such as specific video.
-
Install youtube-dl and add it to the path.
-
After that install ffmpeg and add it to the path.
-
And lastly run this command on your terminal.
go get -u github.com/cemasma/youtube-mp3-downloader
- If you want to download single video as in mp3 format.
youtube-mp3-downloader --url https://www.youtube.com/watch?v=t1dXdsUricU
- If you want to download whole playlist as in mp3 format.
youtube-mp3-downloader --url https://www.youtube.com/playlist?list=PLJmaGDjGiTOrgF3BFmmFX0K5eFt20dHe9 --playlist true
Flag | Description |
---|---|
url | video or playlist url |
playlist | determine type of source |