Traceback (most recent call last):
File "main.py", line 101, in <module>
move.start()
File "main.py", line 31, in start
songs = user.fetch_faviort()
File "/Users/Willei/Downloads/Xiami_To_Spotify-master/Login_Fetch_Xiami.py", line 98, in fetch_faviort
result = sp.search(q='artist:' + to_utf8(artist_name), type='artist')
File "/Library/Python/2.7/site-packages/spotipy/client.py", line 339, in search
return self._get('search', q=q, limit=limit, offset=offset, type=type, market=market)
File "/Library/Python/2.7/site-packages/spotipy/client.py", line 146, in _get
return self._internal_call('GET', url, payload, kwargs)
File "/Library/Python/2.7/site-packages/spotipy/client.py", line 124, in _internal_call
headers=r.headers)
spotipy.client.SpotifyException: http status: 401, code:-1 - https://api.spotify.com/v1/search?q=artist%3A%E7%AA%A6%E9%9D%96%E7%AB%A5&type=artist&limit=10&offset=0:
No token provided