Skip to content

feat(route): add zuna download#22385

Open
JaggerH wants to merge 2 commits into
DIYgod:masterfrom
JaggerH:feature-zuna-pr2
Open

feat(route): add zuna download#22385
JaggerH wants to merge 2 commits into
DIYgod:masterfrom
JaggerH:feature-zuna-pr2

Conversation

@JaggerH

@JaggerH JaggerH commented Jun 30, 2026

Copy link
Copy Markdown
Contributor

Involved Issue / 该 PR 相关 Issue

Close #

Example for the Proposed Route(s) / 路由地址示例

/zuna/download/1824045033/lossless

New RSS Route Checklist / 新 RSS 路由检查表

  • New Route / 新的路由
  • Anti-bot or rate limit / 反爬/频率限制
    • If yes, do your code reflect this sign? / 如果有, 是否有对应的措施?
  • Date and time / 日期和时间
    • Parsed / 可以解析
    • Correct time zone / 时区正确
  • New package added / 添加了新的包
  • Puppeteer

Note / 说明

  • Adds a Zuna download route for NetEase Cloud Music song IDs or URLs.
  • The current Zuna frontend protocol requires /api/key, X-Key-Token, /api/ip, and a signed /api/song request.
  • Local verification: pnpm test lib/zuna.test.ts.
  • Live protocol check reached the correct upstream path; Zuna currently returns 获取播放链接失败:上游音乐服务连接失败 because its upstream music service is unavailable.

delete cleaned.ver;

let signString = timestamp + SIGN_DOMAIN;
for (const key of Object.keys(cleaned).toSorted((a, b) => a.localeCompare(b))) {
@github-actions github-actions Bot added the auto: not ready to review Users can't get the RSS feed output according to automated testing results label Jun 30, 2026
@github-actions

Copy link
Copy Markdown
Contributor

Successfully generated as following:

http://localhost:1200/zuna/download/1824045033/lossless - Failed ❌
HTTPError: Response code 503 (Service Unavailable)

Error Message:<br/>FetchError: [GET] &quot;https://music.znnu.com/api/key&quot;: 545 Unknown Status
Route: /zuna/download/:id/:level?
Full Route: /zuna/download/1824045033/lossless
Node Version: v24.18.0
Git Hash: cdd41ea4

@github-actions

Copy link
Copy Markdown
Contributor

Auto Review

No clear rule violations found in the current diff.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

auto: not ready to review Users can't get the RSS feed output according to automated testing results core enhancement route

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants