安装解锁网易云音乐 unblockneteasemusic 三种方法

三个方法

方法一和方法二都需要先安装nodejs

参考 https://github.com/nondanee/UnblockNeteaseMusic/issues/22

方法三需要先安装docker

 

方法一:使用npx

npx @nondanee/unblockneteasemusic

默认会在8080端口运行

wgw@wgw-virtual-machine:~$ npx @nondanee/unblockneteasemusic
HTTP Server running @ http://0.0.0.0:8080

 

方法二:使用npm

npm安装unblockneteasemusic

npm install -g @nondanee/unblockneteasemusic

运行

unblockneteasemusic

 

默认也会在8080端口运行 但是能改成自己想要的端口 如下

root@wgw-virtual-machine:~# npm install -g @nondanee/unblockneteasemusic
/usr/bin/unblockneteasemusic -> /usr/lib/node_modules/@nondanee/unblockneteasemusic/app.js
+ @nondanee/unblockneteasemusic@0.25.3
added 1 package from 1 contributor in 3.794s
root@wgw-virtual-machine:~# unblockneteasemusic
HTTP Server running @ http://0.0.0.0:8080
^C
root@wgw-virtual-machine:~# unblockneteasemusic --version
0.25.3
root@wgw-virtual-machine:~# unblockneteasemusic -h
usage: unblockneteasemusic [-v] [-p port] [-a address] [-u url] [-f host]
                           [-o source [source ...]] [-t token] [-e url] [-s]
                           [-h]

optional arguments:
  -v, --version                   output the version number
  -p port, --port port            specify server port
  -a address, --address address   specify server host
  -u url, --proxy-url url         request through upstream proxy
  -f host, --force-host host      force the netease server ip
  -o source [source ...], --match-order source [source ...]
                                  set priority of sources
  -t token, --token token         set up proxy authentication
  -e url, --endpoint url          replace virtual endpoint with public host
  -s, --strict                    enable proxy limitation
  -h, --help                      output usage information
root@wgw-virtual-machine:~# unblockneteasemusic -p 5300
HTTP Server running @ http://0.0.0.0:5300

 

方法三:使用docker

docker run [OPTIONS] nondanee/unblockneteasemusic

 

安装完后网易云音乐客户端使用方法参考官方文档

https://github.com/nondanee/UnblockNeteaseMusic

mac OS 下网易云客户端效果,可以解锁周杰伦的歌了

 

 

©️2020 CSDN 皮肤主题: 大白 设计师:CSDN官方博客 返回首页