Skip to content

append追加视频时--title参数无效,不能修改视频标题 #174

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

Open
Icelame-31 opened this issue Oct 5, 2024 · 1 comment
Open

Comments

@Icelame-31
Copy link

首先,非常感谢您的哔站投稿工具!

我在追加投稿时想通过--title参数修改稿件标题,视频成功追加了,但是视频标题并未被修改。
这是投稿工具代码的问题呢,还是哔站提交接口的限制呢?能否修复此BUG呢?

期待您的回复,谢谢!

@vicat47
Copy link
Contributor

vicat47 commented Dec 21, 2024

没需求,如果有人想要做的话可以简单修改下

let bilibili = login_by_cookies(user_cookie).await?;
let mut uploaded_videos = upload(&video_path, &bilibili, line, limit).await?;
let mut studio = bilibili.studio_data(&vid).await?;
studio.videos.append(&mut uploaded_videos);
bilibili.edit(&studio).await?;
// studio.edit(&login_info).await?;
Ok(())

在 edit 这块逻辑把参数填进去就行

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

No branches or pull requests

2 participants