mirror of
https://github.com/spotipy-dev/spotipy.git
synced 2026-10-13 01:10:45 +00:00
Fixed output of playlist_tracks example (#594)
Co-authored-by: Chris Danger <chris@The-Castle-Tower.local>
This commit is contained in:
1 parent
36b857dc15
commit
bea781d28f
2 files changed
+6
-5
No files matched your search
@@ -12,9 +12,10 @@ while True:
|
||||
offset=offset,
|
||||
fields='items.track.id,total',
|
||||
additional_types=['track'])
|
||||
pprint(response['items'])
|
||||
offset = offset + len(response['items'])
|
||||
print(offset, "/", response['total'])
|
||||
|
||||
|
||||
if len(response['items']) == 0:
|
||||
break
|
||||
|
||||
pprint(response['items'])
|
||||
offset = offset + len(response['items'])
|
||||
print(offset, "/", response['total'])
|
||||
Reference in new issue
Block a user