Download YouTube videos as mp3 files.
- 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].
- Add
./.docker/.env
,./app/.env
(see samples) - Start the php container:
cd .docker && docker compose up -d
- In the php container:
composer install
- In the php container:
php cli.php fabpico:convert [playlistID]
Your mp3 files will be located in ./data/mp3
.