Comments (12)
很抱歉这个无法实现,是网易云服务器不允许
{ msg: '下架歌曲无法收藏', code: 401 }
from unblockneteasemusic.
https://github.com/bin456789/Unblock163MusicClient-Xposed 可以实现,不知道怎么做到的,可能安卓api可以?
from unblockneteasemusic.
@steven7851
我试了weapi也会报401
{"trackIds":"[561307346]","code":401,"count":5,"cloudCount":0}
之前试的eapi也是401,安卓就是走eapi
@bin456789
xposed模块确实可以收藏下架的歌曲
不过我看xposed模块里这些操作都在后端实现
大佬能不能透露一下是怎么做到的🙏🙏🙏
from unblockneteasemusic.
from unblockneteasemusic.
@JasonKhew96
是啊,所以希望 @bin456789 大佬能透露一下后端实现嘛😂
from unblockneteasemusic.
收藏到歌单
url = "http://music.163.com/api/playlist/manipulate/tracks"
data = {
'trackIds': '[%s,%s]' % (trackId, trackId),
'pid': playlistId,
'op': op
}
post请求,cookie可能要添加{'os': 'pc'}
红心收藏
http://music.163.com/api/v1/user/info 得到uid
http://music.163.com/api/user/playlist?uid=%s&limit=1000&offset=0 得到"我喜欢的音乐"列表的playlistId
再次用上面的api就可以了
from unblockneteasemusic.
@bin456789
多谢指导,请问下是这样吗
cookie中含MUSIC_U
和os=pc
这样还是401~
from unblockneteasemusic.
大概MUSIC_U和pid对不上,歌曲只能添加到自己创建的歌单
from unblockneteasemusic.
@bin456789 我傻了,pid和trackId填反了,多谢😂
from unblockneteasemusic.
@datou1996 已支持
from unblockneteasemusic.
@bin456789 感觉是网易云API的BUG,重复填两个trackId用weapi也可以成功添加到歌单😂
from unblockneteasemusic.
@nondanee 感谢
from unblockneteasemusic.
Related Issues (20)
- 2023年了,现在还可以用吗?我windows配置完,测试代理可用,但是无法添加播放音乐为什么? HOT 12
- CLASH可以通过添加规则,然后进行网易云解锁,但是不清楚这是什么原理,是在本地电脑端处理,还是在云搭建的服务器处理的呢? HOT 3
- In Search Of A Proxy
- 网易云音乐最新版本失效 HOT 1
- iOS 网易云8.9.73 无法解锁 HOT 1
- 怎么在海外VPS上使用Caddy反代UnblockNeteaseMusic?
- 如何直接通过程序访问,而不是通过网易云代理
- 麻了,家人们谁懂啊,不能理解为啥这样也能解锁,谁给科普一下
- 亏贼,周杰伦全听不了了
- 设置Passwall2后不能使用,网易云是走哪个端口的啊? Passwall2要做分流怎么办?
- 今日突然无法使用 HOT 18
- 群晖重启后无法正常启动
- win版报加载失败 HOT 1
- 解锁后灰色变黑色但是播放提示歌曲不存在
- migu接口失效了?
- ios stash覆写脚本编写大家有吗
- 企鹅q音乐,长期cookie有效方案,已解决✅
- 网易云Windows,无版权歌曲,即使通过这儿的方法加到播放列表,仍显示获取下载地址时出错
- Ml
- Is this repo related to UnblockNeteaseMusic/server? HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from unblockneteasemusic.