New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

NeteaseCloudMusicApi

Package Overview
Dependencies
Maintainers
1
Versions
336
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

NeteaseCloudMusicApi - npm Package Compare versions

Comparing version 2.5.3 to 2.5.4

2

app.js

@@ -225,3 +225,3 @@ const express = require('express')

app.use("/user/event", require("./router/user_event"))
// 获取用户歌单
app.use('/user/detail', require('./router/user_detail'))

@@ -228,0 +228,0 @@

# 更新日志
### 2.5.4 | 2017.5.5
新增点赞接口,更新文档
### 2.5.3 | 2017.5.2
修复歌手单曲数据空白问题和文档获取歌手单曲url 描述问题,更新文档
### 2.5.0 | 2017.4.29

@@ -3,0 +9,0 @@ 增加 mv/专辑/歌单评论接口,增加云盘相关接口,增加获取用户动态/信息接口,增加关注/粉丝列表接口,增加收藏歌单接口,增加相似 mv/歌曲/用户接口,增加 banner 接口,增加刷新登录接口,增加电台相关接口,补充评论接口,更新文档

{
"name": "NeteaseCloudMusicApi",
"version": "2.5.3",
"version": "2.5.4",
"description": "网易云音乐 NodeJS 版 API",

@@ -5,0 +5,0 @@ "scripts": {

@@ -17,2 +17,5 @@ # 网易云音乐 API

## 版本新特性
### 2.5.4 | 2017.5.5
新增点赞接口,更新文档
### 2.5.0 | 2017.4.29

@@ -19,0 +22,0 @@ 增加 mv/专辑/歌单评论接口,增加云盘相关接口,增加获取用户动态/信息接口,增加关注/粉丝列表接口,增加收藏歌单接口,增加相似 mv/歌曲/用户接口,增加 banner 接口,增加刷新登录接口,增加电台相关接口,补充评论接口,更新文档

@@ -8,6 +8,15 @@ //comment like

const cookie = req.get('Cookie') ? req.get('Cookie') : ''
const id = req.query.id
const cid = req.query.cid //评论 id
const id=req.query.id// 歌曲 id
const typeMap={
0:"R_SO_4_",//歌曲
1:"R_MV_5_",//mv
2:"A_PL_0_",//歌单
3:"R_AL_3_",//专辑
4:"A_DJ_1_",//电台
}
const type=typeMap[req.query.type]
const data = {
"threadId": req.query.origin,
commentId:id,
"threadId": `${type}${id}`,
commentId:cid,
"csrf_token": ""

@@ -14,0 +23,0 @@ }

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc