|
先贴上大神原帖地址:https://www.right.com.cn/forum/thread-575582-1-1.html
首先需要安装node.js环境
- opkg update && opkg install node
- cd /mnt/sda1 #检查打开usb接入盘,一般闪存空间可能不够,所以建议外接优盘 这里挂载地址以实际为准
- git clone git://github.com/nondanee/UnblockNeteaseMusic.git #原帖里面大神github地址是https,由于部分openwrt不支持https连接,这里改为通用git连接,确定可用
- cd UnblockNeteaseMusic-master/ #打开解锁网X云音乐的下载目录文件
- ping music.163.com #在本地查找对应音乐服务器地址,记下返回的ip地址 然后按ctrl+c 终止此ping 运行
- node app.js -p 10163 -f 119.119.119.119 #此119ip仅为参考地址,请填写上面ping 获得的返回真实ip地址
[color=rgb(51, 102, 153) !important][color=rgb(51, 102, 153) !important][color=rgb(51, 102, 153) !important] 如果需要让这个脚本在后台自动运行,请参考以下命令:
- nohup node app.js -p 10163 -f 119.119.119.119 & #此处ip同上
如有不能运行,可能需要安装Entware 环境
[color=rgb(51, 102, 153) !important] |
|