Migrate your playlists from your spotify account to your youtube music account
- Create a developer account: https://developer.spotify.com/
- Create a new app
- Get credentials
- Set
redirect_uri
to a valid value (e.g.: "http://localhost:8080") - Create
.env
file following.env.sample
structure and add those values
- Follow Copy authentication headers from
ytmusicapi
docs. - Create a
headers_auth.json
followingheaders_auth.sample.json
structure - Replace
cookie
and other necessary values from the data in your browser
- Install dependencies:
$ pipenv install
- Activate environment:
$ pipenv shell
- Run script:
$ python main.py