Huge News!Announcing our $40M Series B led by Abstract Ventures.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.6.1 to 2.6.2

3

CHANGELOG.MD
# 更新日志
### 2.6.2 | 2017.7.16
修复垃圾桶接口
### 2.6.1 | 2017.7.16

@@ -3,0 +6,0 @@ 修复红心接口

2

package.json
{
"name": "NeteaseCloudMusicApi",
"version": "2.6.1",
"version": "2.6.2",
"description": "网易云音乐 NodeJS 版 API",

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

@@ -1,16 +0,18 @@

const express = require("express")
const express = require('express')
const router = express()
const { createWebAPIRequest } = require("../util/util")
const { createWebAPIRequest } = require('../util/util')
router.get("/", (req, res) => {
router.get('/', (req, res) => {
const cookie = req.get('Cookie') ? req.get('Cookie') : ''
const songId = req.query.id
const alg = 'RT'
const time = req.query.time || 25
const data = {
"csrf_token": ""
csrf_token: '',
songId
}
const songid = req.query.id
const alg = "RT"
const time = req.query.time || 25
createWebAPIRequest(
'music.163.com',
`/weapi/radio/trash/add?alg=${alg}&songId=${songid}&time=${time}`,
`/weapi/radio/trash/add?alg=${alg}&songId=${songId}&time=${time}`,
'POST',

@@ -24,4 +26,2 @@ data,

module.exports = router
module.exports = router
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