mirror of
https://github.com/c0de-archive/spotipy.git
synced 2024-11-04 23:17:48 +00:00
commit
a30a6557d1
@ -5,10 +5,10 @@ import sys
|
||||
import pprint
|
||||
|
||||
if len(sys.argv) > 1:
|
||||
str = sys.argv[1]
|
||||
search_str = sys.argv[1]
|
||||
else:
|
||||
str = 'Radiohead'
|
||||
search_str = 'Radiohead'
|
||||
|
||||
sp = spotipy.Spotify()
|
||||
result = sp.search(str)
|
||||
result = sp.search(search_str)
|
||||
pprint.pprint(result)
|
||||
|
Loading…
Reference in New Issue
Block a user