Skip to content
This repository has been archived by the owner on Apr 16, 2024. It is now read-only.

Commit

Permalink
Merge pull request #1523 from akinazuki/master
Browse files Browse the repository at this point in the history
增加支持罗马音歌词返回
  • Loading branch information
Binaryify authored May 6, 2022
2 parents 08dbeb1 + 08334d8 commit d7201c1
Showing 1 changed file with 15 additions and 8 deletions.
23 changes: 15 additions & 8 deletions module/lyric.js
Original file line number Diff line number Diff line change
@@ -1,17 +1,24 @@
// 歌词

module.exports = (query, request) => {
query.cookie.os = 'pc'
query.cookie.os = 'ios'

const data = {
id: query.id,
tv: -1,
lv: -1,
rv: -1,
kv: -1,
tv: -1,
}
return request('POST', `https://music.163.com/api/song/lyric`, data, {
crypto: 'api',
cookie: query.cookie,
proxy: query.proxy,
realIP: query.realIP,
})
return request(
'POST',
`https://music.163.com/api/song/lyric?_nmclfl=1`,
data,
{
crypto: 'api',
cookie: query.cookie,
proxy: query.proxy,
realIP: query.realIP,
},
)
}

2 comments on commit d7201c1

@vercel
Copy link

@vercel vercel bot commented on d7201c1 May 6, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

netease-cloud-music-api – ./docs

neteasecloudmusicapi.vercel.app
netease-cloud-music-api-git-master-binaryify.vercel.app

@vercel
Copy link

@vercel vercel bot commented on d7201c1 May 6, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.