出错了,不知道我的配置有没有问题
Traceback (most recent call last):
File "douban_fm_ctl.py", line 95, in <module>
doubanfm.start()
File "douban_fm_ctl.py", line 38, in start
self.get_songlist()
File "douban_fm_ctl.py", line 28, in get_songlist
self.songlist = json.loads(httpConnection.getresponse().read())['song']
KeyError: 'song'
|