A command line utility which lets users download spotify tracks from albums, playlists, and his/her saved content as audio tracks from youtube
- Initial draft script available.
- Can download saved songs.
- Need to install some prerequisites and change keys by modifying the script.
Run the below commands
- brew install youtube-dl
- brew install ffmpeg
- python savify.py
Replace ENTER_YOUR_SPOTIFY_API_KEY_HERE and ENTER_YOUR_YOUTUBE_API_KEY_HERE in the script aptly
Get your spotify OAuthKey from https://developer.spotify.com/web-api/console/get-current-user-saved-tracks/ (You will have to login to spotify to generate OAuth)
- Hit "GET OAUTH TOKEN" button
- Check "user-library-read" option (Check All Recommended)
- Hit "REQUEST TOKEN" button
Get your youtube API key by following this tutorial https://www.youtube.com/watch?v=JbWnRhHfTDA (You will have to login to your google account)
- Take keys as arguments
- Install prerequisites automatically.
- Download spotify playlists