diff --git a/CHANGELOG.MD b/CHANGELOG.MD index eaf8a1d..c83fb44 100644 --- a/CHANGELOG.MD +++ b/CHANGELOG.MD @@ -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) diff --git a/module/song_url.js b/module/song_url.js index 7e3ff96..efe67d6 100644 --- a/module/song_url.js +++ b/module/song_url.js @@ -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) diff --git a/package.json b/package.json index 94100a3..3af970d 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "NeteaseCloudMusicApi", - "version": "3.18.3", + "version": "3.18.4", "description": "网易云音乐 NodeJS 版 API", "scripts": { "start": "node app.js",