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

feat: 为下载视频接口加入 wbi 签名 #143

Merged
merged 2 commits into from
Jul 21, 2024
Merged

feat: 为下载视频接口加入 wbi 签名 #143

merged 2 commits into from
Jul 21, 2024

Conversation

amtoaer
Copy link
Owner

@amtoaer amtoaer commented Jul 21, 2024

发现视频下载接口的风控也很可能是签名的问题,因此也给下载视频的接口加上签名。

  1. 将 mixin key 提取为 static 变量,方便各个接口访问
  2. 获取 mixin key 同样需要登录,因此直接复用 mixin key 接口,移除之前的 is_login
  3. 调整 main 结构,避免每个 continue 前都写一遍 sleep

@amtoaer amtoaer marked this pull request as ready for review July 21, 2024 10:44
@amtoaer amtoaer merged commit 86e8580 into main Jul 21, 2024
2 checks passed
@amtoaer amtoaer deleted the sign_download branch July 21, 2024 14:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant