wujiajia2017scnu
wujiajia2017scnu
thank you sir,you are right. when i uninstall channels==2.0, and install channels==1.1.6. and install django==1.10. The chatbot web is successful. So happy. what's more,you should not to change the code...
change the name of chatbot.py into chatbot1.py because the package and chatbot.py ,do not have the same name
def get_playlist(self, para): url = "https://music.163.com/weapi/v3/playlist/detail" param = dict(id=para["ID"], total="true", limit=30, n=30, offest=21) return self.send(url, param) 修改 limit=30, n=30, offest=21, 获取结果仍然是前20个。
> 已经更新啦,快执行pip install --upgrade cloudmusic然后试试吧 感谢,大牛呀