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.0 to 2.6.1

issue_template.md

2

app.js

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

//云盘数据详情???不要使用
//云盘数据详情? 暂时不要使用
app.use("/user/cloud/search", require("./router/user_cloud_search"))

@@ -227,0 +227,0 @@ //用户动态

# 更新日志
### 2.6.1 | 2017.7.16
修复红心接口
### 2.6.0 | 2017.6.25

@@ -3,0 +6,0 @@ 修复签到接口

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

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

@@ -1,15 +0,16 @@

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 data = {
"csrf_token": ""
}
const trackId = req.query.id
const like = req.query.like || true
const alg = req.query.alg || "itembased"
const alg = req.query.alg || 'itembased'
const time = req.query.time || 25
console.log(alg)
const data = {
csrf_token: '',
trackId,
like
}
createWebAPIRequest(

@@ -26,4 +27,2 @@ 'music.163.com',

module.exports = router
module.exports = router

@@ -59,3 +59,3 @@ const Encrypt = require('./crypto.js')

'Referer': 'http://music.163.com',
'Cookie': 'appver=2.0.2',
'Cookie': 'appver=1.5.2',
'Content-Type': 'application/x-www-form-urlencoded',

@@ -62,0 +62,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