mirror of
https://gitlab.com/Binaryify/neteasecloudmusicapi.git
synced 2025-05-23 22:37:41 +08:00
修复部分歌曲无法获得播放链接的问题 #531
This commit is contained in:
parent
cfa939bb84
commit
07c4ae8736
@ -1,4 +1,7 @@
|
||||
# 更新日志
|
||||
### 3.18.4 | 2019.07.14
|
||||
- 修复部分歌曲无法获得播放链接的问题 [#531](https://github.com/Binaryify/NeteaseCloudMusicApi/issues/531)
|
||||
|
||||
### 3.18.3 | 2019.07.04
|
||||
- 修复全部 mv`/mv/all` 接口分页参数错误的问题 [#524](https://github.com/Binaryify/NeteaseCloudMusicApi/issues/524)
|
||||
|
||||
|
@ -4,6 +4,7 @@ const crypto = require('crypto')
|
||||
|
||||
module.exports = (query, request) => {
|
||||
if(!('MUSIC_U' in query.cookie)) query.cookie._ntes_nuid = crypto.randomBytes(16).toString("hex")
|
||||
query.cookie.os = 'pc'
|
||||
const data = {
|
||||
ids: '[' + query.id + ']',
|
||||
br: parseInt(query.br || 999000)
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "NeteaseCloudMusicApi",
|
||||
"version": "3.18.3",
|
||||
"version": "3.18.4",
|
||||
"description": "网易云音乐 NodeJS 版 API",
|
||||
"scripts": {
|
||||
"start": "node app.js",
|
||||
|
Loading…
x
Reference in New Issue
Block a user