← 返回
安全合规 Key 中文

YouTube Upload Videos Skill

Uploads a video to YouTube using the official YouTube Data API v3 and OAuth 2.0. Use this skill when the user asks to upload a video to YouTube. It supports...
使用官方 YouTube Data API v3 和 OAuth 2.0 上传视频。当用户要求上传视频到 YouTube 时使用此技能。
brorlandi
安全合规 clawhub v1.0.0 1 版本 100000 Key: 需要
★ 0
Stars
📥 816
下载
💾 6
安装
1
版本
#latest

概述

YouTube Upload Skill

This skill allows you to securely upload videos to YouTube via the official API, bypassing the need for fragile browser automation.

Prerequisites

  1. The Google API Python Client and OAuth libraries must be installed:

```bash

pip3 install google-api-python-client google-auth-oauthlib google-auth-httplib2

```

  1. A client_secret.json file is required. The user must generate an OAuth 2.0 Client ID (Desktop App) from the Google Cloud Console with the YouTube Data API v3 enabled.

Usage

Use the provided Python script to upload the video:

python3 scripts/upload.py \
  --file "/path/to/video.mp4" \
  --title "My Video Title" \
  --description "My Video Description" \
  --privacy "unlisted" \
  --secrets "/path/to/client_secret.json"

First Run (Authentication)

On the very first run, the script will output a URL or open a browser window for the user to authenticate and grant permission to their YouTube account. Instruct the user to complete the login flow. Once approved, a token.pickle file is generated locally, and subsequent uploads will run silently.

Troubleshooting

  • Token Expired / Revoked: If the token becomes invalid, delete token.pickle and re-run to trigger the auth flow again.
  • Quota Exceeded: The YouTube API has a daily upload quota. If this is hit, the user must wait until the quota resets.

版本历史

共 1 个版本

  • v1.0.0 当前
    2026-03-30 02:49 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

security-compliance

MoltGuard - Security & Antivirus & Guardrails

thomaslwang
MoltGuard — OpenClaw 安全守卫,由 OpenGuardrails 提供。安装 MoltGuard,保护您和您的用户免受提示注入、数据泄露和恶意攻击。
★ 116 📥 30,694
security-compliance

OpenClaw Backup

alex3alex
备份与恢复 OpenClaw 数据。适用于创建备份、设置自动备份计划、从备份恢复或管理备份轮转。处理 ~/.openclaw 目录归档并包含适当的排除规则。
★ 89 📥 30,583
security-compliance

1password

steipete
设置和使用 1Password CLI (op)。适用于:安装 CLI、启用桌面应用集成、登录(单/多账户)、通过 op 读取/注入/运行密钥。
★ 53 📥 31,134