sigma67 / spotify_to_ytmusic

Clone a Spotify playlist to YouTube Music
MIT License
954 stars 72 forks source link

Error: AttributeError("'Spotify' object has no attribute 'playlist_items'") #42

Closed OrdinaryGecko closed 1 year ago

OrdinaryGecko commented 1 year ago

Getting this error when no. of tracks > 100:

Spotify tracks: 100/104
Could not get Spotify playlist. Please check the playlist link.
 Error: AttributeError("'Spotify' object has no attribute 'playlist_items'")

Works only when no. of tracks <= 100:

Spotify tracks: 60/60
YouTube tracks: 10/60
YouTube tracks: 20/60
YouTube tracks: 30/60
YouTube tracks: 40/60
YouTube tracks: 50/60
Success: created playlist "<playlist name>"
Spotify tracks: 100/100
YouTube tracks: 10/100
YouTube tracks: 20/100
YouTube tracks: 30/100
YouTube tracks: 40/100
YouTube tracks: 50/100
YouTube tracks: 60/100
YouTube tracks: 70/100
YouTube tracks: 80/100
YouTube tracks: 90/100
Success: created playlist "<playlist name>"
sigma67 commented 1 year ago

I think you might not have the latest version of spotipy. Please run pip install spotipy -U