p697 / cloudmusic

网易云爬虫解决方案
http://cloudmusic.cool/
MIT License
101 stars 30 forks source link

Keyerror: 'songs' #11

Open Chuan1997 opened 3 years ago

Chuan1997 commented 3 years ago

I ran the code demo and reported this error: import cloudmusic music = cloudmusic.getMusic(1347630432)

`Traceback (most recent call last): File "", line 1, in playlist = cloudmusic.getPlaylist(310729011)

File "E:\Anaconda\envs\py36\lib\site-packages\cloudmusic\cloudmusic.py", line 11, in getPlaylist return session.request("playlist", para)

File "E:\Anaconda\envs\py36\lib\site-packages\cloudmusic\sessions.py", line 50, in request musicList = self.request("song", ids)

File "E:\Anaconda\envs\py36\lib\site-packages\cloudmusic\sessions.py", line 44, in request return musicObj.createObj(ids, self.level)

File "E:\Anaconda\envs\py36\lib\site-packages\cloudmusic\musicObj.py", line 12, in createObj musicInfo = api.get_song_detail(dict(ID = ids))['songs']`