This repository has been archived by the owner on Apr 16, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 15.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1523 from akinazuki/master
增加支持罗马音歌词返回
- Loading branch information
Showing
1 changed file
with
15 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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, | ||
}, | ||
) | ||
} |
d7201c1
There was a problem hiding this comment.
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
d7201c1
There was a problem hiding this comment.
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-binaryify – ./
netease-cloud-music-api-binaryify-binaryify.vercel.app
netease-cloud-music-api-binaryify-git-master-binaryify.vercel.app
netease-cloud-music-api-binaryify.vercel.app