mirror of
https://github.com/NeteaseCloudMusicApiEnhanced/api-enhanced.git
synced 2026-10-20 22:51:23 +08:00
fixed url error
This commit is contained in:
@@ -9,7 +9,7 @@ describe('测试获取歌曲是否正常', () => {
|
|||||||
br: 999000
|
br: 999000
|
||||||
}
|
}
|
||||||
|
|
||||||
request.get({url: `${host}/music/url`, qs: qs}, (err, res, body) => {
|
request.get({url: `${host}/song/url`, qs: qs}, (err, res, body) => {
|
||||||
if (!err && res.statusCode == 200) {
|
if (!err && res.statusCode == 200) {
|
||||||
body = JSON.parse(body)
|
body = JSON.parse(body)
|
||||||
assert(!!body.data[0].url)
|
assert(!!body.data[0].url)
|
||||||
|
|||||||
Reference in New Issue
Block a user