CLI tool and library to transfer Spotify playlists to YouTube Music. v0.9.32, active development, monthly releases.
pip install spotify2ytmusicNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Initialize with credentials and transfer a public playlist. Requires Spotify API credentials and YouTube Music headers auth.
Extract playlist ID from URL using regex or string splitting before passing to `transfer_playlist`.
Generate headers_auth by exporting request headers from browser's developer tools (Network tab) after logging into music.youtube.com. Pass as a JSON string.
Use `headers_auth=...` instead of `ytmusic_auth=...`.
Split large playlists into chunks or use the `max_tracks` parameter (if available) to limit per run.