forked from Binaryify/NeteaseCloudMusicApi
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
60 additions
and
49 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,4 +1,9 @@ | ||
# 更新日志 | ||
### 3.25.3 | 2020.03.18 | ||
- 更新歌词,歌手分类列表接口 | ||
|
||
- 更新文档 | ||
|
||
### 3.25.3 | 2019.11.08 | ||
- 升级依赖,去除多余依赖 | ||
|
||
|
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
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
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,11 +1,17 @@ | ||
// 歌词 | ||
|
||
module.exports = (query, request) => { | ||
query.cookie.os = 'pc'; | ||
const data = { | ||
id: query.id | ||
id: query.id, | ||
lv: -1, | ||
kv: -1, | ||
tv: -1 | ||
} | ||
return request( | ||
'POST', `https://music.163.com/weapi/song/lyric?lv=-1&kv=-1&tv=-1`, data, | ||
{crypto: 'linuxapi', cookie: query.cookie, proxy: query.proxy} | ||
'POST', | ||
`https://music.163.com/api/song/lyric`, | ||
data, | ||
{ crypto: 'linuxapi', cookie: query.cookie, proxy: query.proxy } | ||
) | ||
} | ||
} |
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,44 +1,44 @@ | ||
{ | ||
"name": "NeteaseCloudMusicApi", | ||
"version": "3.25.3", | ||
"description": "网易云音乐 NodeJS 版 API", | ||
"scripts": { | ||
"start": "node app.js", | ||
"test": "mocha -r intelli-espower-loader -t 20000 app.test.js --exit", | ||
"lint-fix": "eslint --fix --ext .js app.js module/ util/ test/ " | ||
}, | ||
"keywords": [ | ||
"网易云音乐", | ||
"网易云", | ||
"音乐", | ||
"网易云音乐nodejs" | ||
], | ||
"husky": { | ||
"hooks": { | ||
"pre-commit": "lint-staged" | ||
"name": "NeteaseCloudMusicApi", | ||
"version": "3.25.4", | ||
"description": "网易云音乐 NodeJS 版 API", | ||
"scripts": { | ||
"start": "node app.js", | ||
"test": "mocha -r intelli-espower-loader -t 20000 app.test.js --exit", | ||
"lint-fix": "eslint --fix --ext .js app.js module/ util/ test/ " | ||
}, | ||
"keywords": [ | ||
"网易云音乐", | ||
"网易云", | ||
"音乐", | ||
"网易云音乐nodejs" | ||
], | ||
"husky": { | ||
"hooks": { | ||
"pre-commit": "lint-staged" | ||
} | ||
}, | ||
"lint-staged": { | ||
"*.js": [ | ||
"eslint --fix", | ||
"git add" | ||
] | ||
}, | ||
"author": "binaryify", | ||
"license": "MIT", | ||
"dependencies": { | ||
"apicache": "^1.5.2", | ||
"express": "^4.17.1", | ||
"pac-proxy-agent": "^3.0.1", | ||
"request": "^2.88.0" | ||
}, | ||
"devDependencies": { | ||
"eslint": "^6.6.0", | ||
"eslint-plugin-html": "^6.0.0", | ||
"husky": "^3.0.9", | ||
"intelli-espower-loader": "^1.0.1", | ||
"lint-staged": "^9.4.2", | ||
"mocha": "^6.2.2", | ||
"power-assert": "^1.6.1" | ||
} | ||
}, | ||
"lint-staged": { | ||
"*.js": [ | ||
"eslint --fix", | ||
"git add" | ||
] | ||
}, | ||
"author": "binaryify", | ||
"license": "MIT", | ||
"dependencies": { | ||
"apicache": "^1.5.2", | ||
"express": "^4.17.1", | ||
"pac-proxy-agent": "^3.0.1", | ||
"request": "^2.88.0" | ||
}, | ||
"devDependencies": { | ||
"eslint": "^6.6.0", | ||
"eslint-plugin-html": "^6.0.0", | ||
"husky": "^3.0.9", | ||
"intelli-espower-loader": "^1.0.1", | ||
"lint-staged": "^9.4.2", | ||
"mocha": "^6.2.2", | ||
"power-assert": "^1.6.1" | ||
} | ||
} | ||
} |