Open wujiajia2017scnu opened 4 years ago
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个。
网易云刚刚更新了接口,我稍后将新的解决方案更新上。感谢你的issue
已经更新啦,快执行pip install --upgrade cloudmusic然后试试吧
已经更新啦,快执行pip install --upgrade cloudmusic然后试试吧
感谢,大牛呀
import cloudmusic musiclist = cloudmusic.getPlaylist(2316863379)
通过歌单id来定位歌单
print(len(musiclist)) for music in musiclist: print("歌曲名称:{}".format(music.name))