YouTube playlist to mp3
Download YouTube videos as mp3 files.
Requirements
- Docker
- Google API key
- A playlist ID of a public or unlisted YouTube playlist. This is found in the URL like https://www.youtube.com/playlist?list=[playlistId].
Install
- Put your Google API key into
.env
(see.env.sample
) - Run
scripts/start.sh
Use
- Bash into the container
- Run:
php cli.php fabpico:convert [playlistId]
Your mp3 files will be located in ./data/mp3
.