mirror of
https://github.com/Xevion/spotify-explicit.git
synced 2025-12-06 01:16:25 -06:00
file saving additionsn
This commit is contained in:
8
process.py
Normal file
8
process.py
Normal file
@@ -0,0 +1,8 @@
|
||||
import json
|
||||
|
||||
saved_response = json.load(open('saved_tracks.json', 'r'))
|
||||
for track in saved_response['items']:
|
||||
print('{} by {}'.format(
|
||||
track['track']['name'],
|
||||
' & '.join(artist['name'] for artist in track['track']['artists'])
|
||||
))
|
||||
Reference in New Issue
Block a user