通过Yutu管理YouTube视频的标准流程可分为四个阶段:
1. Preliminary preparations
- 获取有效的client_secret.json认证文件
- pass (a bill or inspection etc)
yutu auth
完成账户授权,生成youtube.token.json
2. 视频上传
Use the command:yutu video insert --file 视频路径 --title "标题" --description "描述"
注意记录返回的videoId用于后续操作
3. 后续管理
- 缩略图设置::
yutu thumbnail set --videoId ID --file 图片路径
- 播放列表管理:先创建列表获取playlistId,再用playlistItem添加视频
- Comment management:通过comment insert命令发布视频评论
4. Batch processing
可结合shell脚本实现自动化批处理,例如遍历目录上传多个视频,或定时发布评论等。所有命令支持–help参数查看详细用法说明。
This answer comes from the articleYutu: YouTube Command Line Management Tool, Taps AI to Fully Automate YouTube ChannelsThe