From ce7d8fd5118d4c0ab6c44dc174b6a729002a5b33 Mon Sep 17 00:00:00 2001 From: binaryify Date: Sun, 14 Jul 2019 11:03:25 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E9=83=A8=E5=88=86=E6=AD=8C?= =?UTF-8?q?=E6=9B=B2=E6=97=A0=E6=B3=95=E8=8E=B7=E5=BE=97=E6=92=AD=E6=94=BE?= =?UTF-8?q?=E9=93=BE=E6=8E=A5=E7=9A=84=E9=97=AE=E9=A2=98=20#531?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- CHANGELOG.MD | 3 +++ module/song_url.js | 1 + package.json | 2 +- 3 files changed, 5 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.MD b/CHANGELOG.MD index eaf8a1d969d..c83fb44c15e 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 7e3ff967e42..efe67d64588 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 94100a3d710..3af970d014e 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",