← 返回
未分类 Key 中文

YouTube Video Downloader

Download YouTube videos by URL in various resolutions using a pay-per-use API with credit-based authentication and no charge on failed downloads. Use when us...
Download YouTube videos by URL in various resolutions using a pay-per-use API with credit-based authentication and no charge on failed downloads. Use when us...
jxyyjm jxyyjm 来源
未分类 clawhub v1.0.4 1 版本 100000 Key: 需要
★ 0
Stars
📥 449
下载
💾 0
安装
1
版本
#latest

概述

YouTube Video Downloader Skill

Download any YouTube video in various resolutions with a simple command. Supports 360p, 480p, 720p, 1080p, best quality, and audio-only extraction.

Quick Install

Just tell OpenClaw:

"Help me install this skill: https://clawhub.ai/jxyyjm/youtube-downloader-skill"

OpenClaw will ask you for an API Key. Follow these steps to get one:

  • Go to https://skill.lordest.cn and register an account
  • Navigate to the API Keys page (or visit https://skill.lordest.cn/?page=apikeys)
  • Click Generate to create your API Key (format: sk-yt-xxxxx)
  • Copy the key and paste it to OpenClaw when prompted

That's it! You're ready to use the skill.

Usage

Once installed, just tell OpenClaw what you want. For example:

"Download this YouTube video: https://youtube.com/watch?v=dQw4w9WgXcQ"

"Download this video in 1080p: https://youtube.com/watch?v=xxxxx"

"Extract audio from this video: https://youtube.com/watch?v=xxxxx"

Supported resolutions: 360p, 480p, 720p (default), 1080p, best, audio-only.

Authentication

All API calls require an API Key in the Authorization header:

Authorization: Bearer sk-yt-xxxxx

Get your API Key at: https://skill.lordest.cn/?page=apikeys

Endpoints

POST /api/v1/download

Download a YouTube video.

Request:

{
  "youtube_url": "https://www.youtube.com/watch?v=dQw4w9WgXcQ",
  "resolution": "720"
}

Parameters:

  • youtube_url (required): YouTube video URL
  • resolution (optional): "360", "480", "720", "1080", "best", "audio". Default: "720"

Response (success):

{
  "success": true,
  "download_url": "https://oss-bucket.aliyuncs.com/skill/abc123/video.mp4",
  "video_title": "Video Title",
  "video_duration": 212,
  "file_size": 52428800,
  "resolution": "720",
  "processing_time": 45.2
}

GET /api/v1/balance

Check account status.

Response:

{
  "username": "user123"
}

GET /health

Health check (no authentication required).

Response:

{
  "status": "healthy",
  "service": "YouTube Video Downloader Service",
  "version": "1.0.0"
}

Error Codes

CodeMeaning
------
200Success
401Invalid or missing API Key
400Invalid request (bad URL, etc.)
500Server error

Example (curl)

# Download a video
curl -X POST https://skill.lordest.cn/api/v1/download \
  -H "Authorization: Bearer sk-yt-xxxxx" \
  -H "Content-Type: application/json" \
  -d '{"youtube_url": "https://youtube.com/watch?v=dQw4w9WgXcQ", "resolution": "720"}'

Example (Python)

import requests

API_KEY = "sk-yt-xxxxx"
BASE_URL = "https://skill.lordest.cn"

# Download
resp = requests.post(
    f"{BASE_URL}/api/v1/download",
    headers={"Authorization": f"Bearer {API_KEY}"},
    json={"youtube_url": "https://youtube.com/watch?v=dQw4w9WgXcQ", "resolution": "720"}
)
data = resp.json()
if data["success"]:
    print(f"Download URL: {data['download_url']}")

版本历史

共 1 个版本

  • v1.0.4 当前
    2026-05-03 06:36 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

dev-programming

Github

steipete
使用 `gh` CLI 与 GitHub 交互,通过 `gh issue`、`gh pr`、`gh run` 和 `gh api` 管理议题、PR、CI 运行及高级查询。
★ 686 📥 331,002
ai-agent

AI Capability Analyzer

jxyyjm
智能分析用户需求,推荐最合适的ClawHub技能;提供实时搜索、安全评估及使用建议。
★ 0 📥 379
dev-programming

Mcporter

steipete
使用 mcporter CLI 直接列出、配置、认证及调用 MCP 服务器/工具(支持 HTTP 或 stdio),涵盖临时服务器、配置编辑及 CLI/类型生成功能。
★ 198 📥 68,214