The app transfers your Spotify library to other music platforms. It fetches liked tracks from Spotify and searches for them on YouTube Music.
The export step uses Spotipy and requires the following environment variables:
export SPOTIPY_CLIENT_ID='your-spotify-client-id'
export SPOTIPY_CLIENT_SECRET='your-spotify-client-secret'
export SPOTIPY_REDIRECT_URI='your-app-redirect-url'
You must be YouTube authentication and this action easy with the following command: ytmusicapi oauth this command created oauth.json file in project root.
Once Spotify and YouTube authentication are configured you can start the application.
To export your saved tracks from Spotify and create youtube_search_results.json run:
python main.py Ex-SpAfterwards you can import the results into YouTube Music:
python main.py Im-You