mirror of
				https://github.com/KevinMidboe/spotify-downloader.git
				synced 2025-10-29 18:00:15 +00:00 
			
		
		
		
	Fix error when playlist not found
This commit is contained in:
		| @@ -342,6 +342,7 @@ def grab_playlist(playlist): | ||||
|     username = splits[-3] | ||||
|     playlist_id = splits[-1] | ||||
|     playlists = spotify.user_playlists(username) | ||||
|     found = False | ||||
|  | ||||
|     while True: | ||||
|         for playlist in playlists['items']: | ||||
| @@ -353,7 +354,6 @@ def grab_playlist(playlist): | ||||
|         if playlists['next']: | ||||
|             playlists = spotify.next(playlists) | ||||
|         else: | ||||
|             found = False | ||||
|             break | ||||
|  | ||||
|     if found: | ||||
|   | ||||
		Reference in New Issue
	
	Block a user