Night

首先,还是应该支持正版。其次,技术带来自由。

要想解锁无版权、VIP歌曲,需要服务端、客户端合适的版本配合才能实现,而且其网易云API也在不断更新中,需要投入精力调和好以上因素。

一、服务端 UnblockNeteaseMusic

项目地址:https://github.com/UnblockNeteaseMusic/server

在服务器上部署好项目后,使用 supervisor 作为进程管理工具,监控进程状态,异常退出时自动重启,大大增加进程健壮性。

安装后,配置服务:

1
2
3
4
5
6
7
8
# 关闭服务
systemctl stop supervisor.service

# 开启服务
systemctl start supervisor.service

# 开机自启
systemctl enable supervisor.service

创建子进程:vim /etc/supervisor/conf.d/netease.conf

1
2
3
4
5
6
7
8
9
[supervisord]
nodaemon=false

[program:netease]
user=root
directory=/root/UnblockNeteaseMusic
command=/root/.tnvm/versions/alinode/v5.9.0/bin/node app.js -p 8888:8889 -s
autostart=true
autorestart=true

管理命令:

1
2
3
4
5
supervisord -v
supervisorctl reload # 载入最新的配置文件,停止原有进程并按新的配置启动、管理所有进程
supervisorctl update # 更新进程
supervisorctl start netease
supervisorctl status

二、客户端代理配置

客户端我使用 Clash,相关规则配置可以网上搜索,添加到 Clash 配置项中。参考及转换推荐:

Rules-for-UnblockNeteaseMusic

ACL4SSR 在线订阅转换 (acl4ssr-sub.github.io)

边缘@订阅转换API (bianyuan.xyz)

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
proxies:
- name: "UnblockMusic"
type: http
server: 127.0.0.1
port: 2635

proxy-groups:
- name: "Netease Music"
type: select
proxies:
- UnblockMusic
- DIRECT

rules:
# Unblock Netease Music
- DOMAIN,api.iplay.163.com,Netease Music
- DOMAIN,apm3.music.163.com,Netease Music
- DOMAIN,apm.music.163.com,Netease Music
- DOMAIN,interface3.music.163.com,Netease Music
- DOMAIN,interface.music.163.com,Netease Music
- DOMAIN,music.163.com,Netease Music

- DOMAIN,httpdns.n.netease.com,Netease Music
- DOMAIN,ac.dun.163yun.com,Netease Music
- DOMAIN,crash.163.com,Netease Music
- DOMAIN,mam.netease.com,Netease Music
- DOMAIN,clientlog.music.163.com,Netease Music
- DOMAIN,clientlog3.music.163.com,Netease Music


# CIDR规则
- IP-CIDR,39.105.63.80/32,Netease Music
- IP-CIDR,47.100.127.239/32,Netease Music
- IP-CIDR,59.111.160.194/32,Netease Music
- IP-CIDR,59.111.160.197/32,Netease Music
- IP-CIDR,59.111.160.245/32,Netease Music
- IP-CIDR,59.111.181.35/32,Netease Music
- IP-CIDR,59.111.181.60/32,Netease Music
- IP-CIDR,59.111.181.155/32,Netease Music
- IP-CIDR,115.236.118.33/32,Netease Music
- IP-CIDR,115.236.121.1/32,Netease Music
- IP-CIDR,118.24.63.156/32,Netease Music
- IP-CIDR,193.112.159.225/32,Netease Music
- IP-CIDR,223.252.199.66/32,Netease Music
- IP-CIDR,223.252.199.67/32,Netease Music
- IP-CIDR6,2407:ae80:200:1001::20/128,Netease Music
- IP-CIDR6,2407:ae80:200:1001::21/128,Netease Music
- IP-CIDR6,2409:8c28:c05:202::3/128,Netease Music
- IP-CIDR6,2409:8c28:c05:202::2/128,Netease Music
- IP-CIDR6,2409:8c28:c05:3:0:4:0:2/128,Netease Music
- IP-CIDR,101.71.154.241/32,Netease Music
- IP-CIDR,103.126.92.132/32,Netease Music
- IP-CIDR,103.126.92.133/32,Netease Music
- IP-CIDR,112.13.119.17/32,Netease Music
- IP-CIDR,112.13.122.1/32,Netease Music
- IP-CIDR,59.111.181.38/32,Netease Music
- IP-CIDR,59.111.160.195/32,Netease Music
- IP-CIDR,45.254.48.1/32,Netease Music
- IP-CIDR,59.111.21.14/32,Netease Music
- IP-CIDR,59.111.179.214/32,Netease Music
- IP-CIDR,59.111.179.213/32,Netease Music
- IP-CIDR,59.111.239.61/32,Netease Music
- IP-CIDR,112.13.122.49/32,Netease Music
- IP-CIDR,59.111.239.62/32,Netease Music
- IP-CIDR,115.236.121.3/32,Netease Music
- IP-CIDR,112.13.119.18/32,Netease Music

# 去网易云内部分广告
- DOMAIN,admusicpic.music.126.net,REJECT
- DOMAIN,iadmat.nosdn.127.net,REJECT
- DOMAIN,iadmusicmat.music.126.net,REJECT
- DOMAIN,iadmusicmatvideo.music.126.net,REJECT

# Final
- MATCH,DIRECT

三、客户端

1. Android

推荐使用 网易云音乐极速版 (密码:dru2)

据说 网易云音乐 8.7.51 版本也可以。

2. Windows

目前使用 2.9.10 版 完美解锁,记得关闭自动更新。

更多版本见:网易云音乐 历史版本收集

3. macOS

目前 2.3.2 版本可完美解锁。

mac 版需要信任 UnblockNeteaseMusic 仓库内的证书。