mirror of
https://github.com/MeoProject/lx-music-api-server.git
synced 2025-07-06 22:42:14 +08:00
fix: kg TypeError: dict object has no attrbute url
This commit is contained in:
@ -73,6 +73,6 @@ async def url(songId, quality):
|
||||
raise FailedException('链接获取失败,可能是数字专辑或者api失效')
|
||||
|
||||
return {
|
||||
'url': body.url[0],
|
||||
'url': body["url"][0],
|
||||
'quality': quality
|
||||
}
|
Reference in New Issue
Block a user