doubanfm.exceptions.APIError: list index out of range
1011-1-000 opened this issue · comments
一登录就会出现这样的问题:
♥ Get local token - Username:
♥ Get channel [ OK ]
♥ Get volume [ OK ]
♥ Get theme [ OK ]
♥ Get keys [ OK ]
Traceback (most recent call last):
File "/Users/leo/anaconda3/envs/py2/bin/douban.fm", line 11, in
sys.exit(main())
File "/Users/leo/anaconda3/envs/py2/lib/python2.7/site-packages/doubanfm/douban.py", line 101, in main
router = Router()
File "/Users/leo/anaconda3/envs/py2/lib/python2.7/site-packages/doubanfm/douban.py", line 47, in init
self.data = data.Data()
File "/Users/leo/anaconda3/envs/py2/lib/python2.7/site-packages/doubanfm/data.py", line 23, in init
self.playlist = Playlist()
File "/Users/leo/anaconda3/envs/py2/lib/python2.7/site-packages/doubanfm/model.py", line 40, in init
self._get_first_song()
File "/Users/leo/anaconda3/envs/py2/lib/python2.7/site-packages/doubanfm/model.py", line 57, in _func
return func(*args, **kwargs)
File "/Users/leo/anaconda3/envs/py2/lib/python2.7/site-packages/doubanfm/model.py", line 82, in _get_first_song
song = douban.get_first_song()
File "/Users/leo/anaconda3/envs/py2/lib/python2.7/site-packages/doubanfm/API/api.py", line 172, in get_first_song
return self.requests_url('n')
File "/Users/leo/anaconda3/envs/py2/lib/python2.7/site-packages/doubanfm/API/api.py", line 163, in requests_url
raise APIError(err)
doubanfm.exceptions.APIError: list index out of range
请问可以帮忙解决吗, 谢谢 !
登陆网页版,听几首歌,点几个红心,再新建个歌单,就不出问题了。