Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

疑似酷我API失效 #1202

Closed
5 tasks done
FoLeaf opened this issue Aug 14, 2023 · 14 comments
Closed
5 tasks done

疑似酷我API失效 #1202

FoLeaf opened this issue Aug 14, 2023 · 14 comments
Labels
invalid This doesn't seem right

Comments

@FoLeaf
Copy link

FoLeaf commented Aug 14, 2023

Bug 描述

配置好酷我cookie后前往网易云播放CVIP音乐 只可以试听

预期行为

No response

实际行为

No response

复现步骤

No response

启动命令及环境变量

ENABLE_FLAC=true
ENABLE_LOCAL_VIP=true
KUWO_COOKIE=Hm_lvt_cdb524f42f0ce19b169a8071123a4797=1692028577; Secret=50816c889fcc66324ca4a2019bf87df37654182b541e7474bb285ecc479f1b2902acae48

日志内容

INFO: (app) HTTP Server running @ http://0.0.0.0:6666
INFO: (app) HTTPS Server running @ http://0.0.0.0:7777
ERROR: (hook) All promises were rejected
AggregateError: All promises were rejected
ERROR: (hook) All promises were rejected
AggregateError: All promises were rejected
ERROR: (hook) All promises were rejected
AggregateError: All promises were rejected

网易云音乐歌曲链接

No response

网易云音乐版本号

201795

操作系统

win11 22h2专业版

其他信息

No response

问题排查

  • 我确认我使用的核心是由 UnblockNeteaseMusic 项目官方发行,不是其他任何 fork。
  • 我确认我已经升级到了最新的核心版本(推荐使用最新构建而不是 release)。
  • 我确认我已经启用了 HTTPS 端口。
  • 我确认我已经正确设置了 EndPoint。
  • 我确认我已经在对应的客户端正确安装了 CA 证书。
@FoLeaf FoLeaf added the bug Something isn't working label Aug 14, 2023
@1715173329
Copy link
Member

你抓的 cookie 不对,自然无法播放。

@1715173329 1715173329 added invalid This doesn't seem right and removed bug Something isn't working labels Aug 15, 2023
@Khada-Jhin8
Copy link

你抓的 cookie 不对,自然无法播放。

根据描述,cookie我只能找到qq得 哈哈哈哈,其他的都找不到。

@redn3ck
Copy link

redn3ck commented Aug 16, 2023

貌似确实不能用了,你cookie不对,Hm_Iuvt_cdb524f42f0cer9b268e4v7y734w5esq24这个才是有效的

@mario6714
Copy link

About the error, i am not sure why but kuwo changed the cookie to like this:

Hm_lvt_cdb_value1; Hm_lvt_cdb_value2; Secret=value3

I hope this help you.

@Inkarro
Copy link
Contributor

Inkarro commented Aug 16, 2023

我测试了下,获取播放直连的接口并没有失效(VIP歌曲也能获取到直链)。
实际上是搜索接口失效了。搜索接口走的是WebAPI,似乎在一周前上了校验。
刚刚下了个酷我的app抓包看了下,他手机版走的搜索api没校验,待会我有空了写个修复提交上来

@Inkarro
Copy link
Contributor

Inkarro commented Aug 16, 2023

修好了,一会提交个PR
image

@Inkarro
Copy link
Contributor

Inkarro commented Aug 16, 2023

#1207

@redn3ck
Copy link

redn3ck commented Aug 17, 2023

#1207

没能生效啊,大佬
图片

@1715173329
Copy link
Member

Hm_Iuvt_cdb524f42f0cer9b268e4v7y734w5esq24=KuwoILoveYouPleaseHoldSearchAPI0; Secret=6bcc68a4b0b74b1c1ea9bd25b9f56aca698474705b032229a2376cfb6ba6215f0445f7cf

其用且珍惜吧。

@Inkarro
Copy link
Contributor

Inkarro commented Aug 17, 2023

#1207

没能生效啊,大佬 图片

运行./src/app.js,不要运行打包后的

@FoLeaf
Copy link
Author

FoLeaf commented Aug 17, 2023

Hm_Iuvt_cdb524f42f0cer9b268e4v7y734w5esq24=KuwoILoveYouPleaseHoldSearchAPI0; Secret=6bcc68a4b0b74b1c1ea9bd25b9f56aca698474705b032229a2376cfb6ba6215f0445f7cf

其用且珍惜吧。

非常感谢

@redn3ck
Copy link

redn3ck commented Aug 17, 2023

运行./src/app.js,不要运行打包后的

哪里不对?这报错查了一下缺少库?
image

@Inkarro
Copy link
Contributor

Inkarro commented Aug 17, 2023

运行./src/app.js,不要运行打包后的

哪里不对?这报错查了一下缺少库? image

npm install pino

@1715173329
Copy link
Member

closed by b04c988

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
invalid This doesn't seem right
Projects
None yet
Development

No branches or pull requests

6 participants