Transfer Spotify albums and followed artists from one account to another.
For example, pull information from an account locked to Facebook and dump it into a new account tied to just an email address. This is all necessary since Spotify makes it apparently impossible to de-facebookify an account.
Steps:
-
Log into spotify.com with the original account.
-
Generate an API token with access to the scopes
user-follow-read
anduser-library-read
from, e.g., https://developer.spotify.com/web-api/console/put-following/#complete. Write the token down asREAD_AUTH_TOKEN
. -
Log out of spotify.com with the old account.
-
Make new account at spotify.com and log in
-
Generate an API token with access to the scopes
user-follow-modify
anduser-library-modify
from, e.g., https://developer.spotify.com/web-api/console/put-following/#complete. Write the token down asMODIFY_AUTH_TOKEN
. -
Clone this repo:
git clone https://github.com/gbrammer/liberate-spotify.git
-
Put the API tokens you generated in the top few lines of
transfer.py
. -
Run it!
import transfer transfer.run_transfer()
*NB:* The album transfer can take a while because a small pause is inserted before each album import to preserve the "added order" of the album list.