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