mirror of
https://github.com/spotipy-dev/spotipy.git
synced 2026-10-11 01:10:45 +00:00
1 file changed
+2
-1
@@ -17,7 +17,8 @@ else:
|
||||
print("Usage: %s username playlist-name playlist-description" % (sys.argv[0],))
|
||||
sys.exit()
|
||||
|
||||
token = util.prompt_for_user_token(username)
|
||||
scope = "playlist-modify-public"
|
||||
token = util.prompt_for_user_token(username, scope)
|
||||
|
||||
if token:
|
||||
sp = spotipy.Spotify(auth=token)
|
||||
|
||||
Reference in new issue
Block a user