Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

unblock-netease-music

Package Overview
Dependencies
Maintainers
1
Versions
59
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

unblock-netease-music - npm Package Compare versions

Comparing version 1.2.5 to 1.2.6

12

modules/proxy/index.js

@@ -77,2 +77,4 @@ var request = require('request');

req.url = 'http://' + ip + req.url;
} else {
req.url = req.url.replace('music.163.com', ip);
}

@@ -82,2 +84,4 @@

// console.log(req.headers);
var options = {

@@ -87,4 +91,5 @@ url: req.url,

method: "get",
followRedirect: false,
timeout: 10000
}
};

@@ -103,6 +108,7 @@ request(options)

if (req.method == 'POST') {
var url = '';
if (!/^http/.test(req.url)) {
var url = 'http://' + ip + req.url;
url = 'http://' + ip + req.url;
} else {
var url = req.url;
url = req.url.replace('music.163.com', ip);
}

@@ -109,0 +115,0 @@ var rawBody = yield getRawBody(_this.req, {

{
"name": "unblock-netease-music",
"version": "1.2.5",
"version": "1.2.6",
"scripts": {

@@ -5,0 +5,0 @@ "start": "node ./bin/www"

@@ -8,2 +8,4 @@ # UnblockNeteaseMusic

[![NPM](https://nodei.co/npm/unblock-netease-music.png?downloads=true&downloadRank=true)](https://nodei.co/npm/unblock-netease-music/)
English version [here](https://github.com/ITJesse/UnblockNeteaseMusic/blob/master/README_en.md).

@@ -52,3 +54,3 @@

P.S. 请务必不要更新客户端到 1.2.3 以上的版本。 下载连接: http://pan.baidu.com/s/1kUDqgWB
P.S. 请务必不要更新客户端到 1.4.3 以上的版本。 [下载连接](http://s1.music.126.net/download/osx/NeteaseMusic_1.4.3_452_web.dmg)

@@ -55,0 +57,0 @@ ## Android 用户

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