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

Add 支持自定义的提交参数 #171

Merged
merged 3 commits into from
Sep 25, 2024
Merged

Add 支持自定义的提交参数 #171

merged 3 commits into from
Sep 25, 2024

Conversation

XiaoMiku01
Copy link
Contributor

@XiaoMiku01 XiaoMiku01 commented Sep 24, 2024

可以在命令行传递参数 --extra-fields '<json 字符串>' 实现添加自定义提交参数
例如B站最近添加了 仅自己可见投稿 选项,可以使用以下命令行投稿

biliup upload --tid 21 --tag "xxx" --cover ./xxx.jpg --extra-fields '{"is_only_self":1}'  ./xxx.mp4 

{"is_only_self": 1} 为抓包获取的参数

@ForgQi ForgQi added this pull request to the merge queue Sep 25, 2024
Merged via the queue into biliup:master with commit b3a2445 Sep 25, 2024
12 checks passed
dreammu pushed a commit to dreammu/biliup-rs that referenced this pull request Oct 10, 2024
* 1

* 支持自定义的提交参数

* 变量名格式统一
@nankaine
Copy link

请教一下,这个支持 web、client 、app的自定义吗

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.

3 participants