fix: kg TypeError: dict object has no attrbute url

This commit is contained in:
helloplhm-qwq 2023-12-17 16:40:01 +08:00
parent 630848f62e
commit b9b311b47a
No known key found for this signature in database
GPG Key ID: B7542212855B2C26

View File

@ -73,6 +73,6 @@ async def url(songId, quality):
raise FailedException('链接获取失败可能是数字专辑或者api失效')
return {
'url': body.url[0],
'url': body["url"][0],
'quality': quality
}