← 返回
内容创作

Twitter Video Download

Download videos from Twitter/X posts. Just give it a tweet URL and it will download the video to your specified location.
从Twitter/X帖子下载视频,只需提供推文链接即可保存至指定位置。
lemonpek66
内容创作 clawhub v1.0.2 2 版本 100000 Key: 无需
★ 0
Stars
📥 728
下载
💾 21
安装
2
版本
#latest

概述

Twitter Video Download

Download videos from Twitter/X posts using yt-dlp.

Setup

# Install yt-dlp
pip install yt-dlp

# Configure proxy (required for China users)
# Twitter/X is overseas, proxy is needed to access
# Please replace with your proxy address
setx PROXY_URL "http://your-proxy-address:port"

Usage in OpenClaw

Just tell me:

> "Download this Twitter video: https://x.com/xxx/status/xxx"

Or specify a save location:

> "Download video to D:\Videos: https://x.com/xxx/status/xxx"

I will automatically call this skill to execute the download.

Command Line Usage

# Enter skill directory
cd [skill_directory]\scripts

# Set proxy environment variable (replace with your proxy)
set PROXY_URL=http://your-proxy-address:port

# Download video
node download.mjs "https://twitter.com/username/status/123456789"

# Specify output directory
node download.mjs "https://twitter.com/username/status/123456789" --output "D:\Downloads"

# Specify filename
node download.mjs "https://twitter.com/username/status/123456789" --filename "my_video"

Options

  • -o, --output : Output directory (default: current directory)
  • -f, --filename : Custom filename (without extension)
  • -q, --quality : Video quality (best/bestvideo/worst)

Examples

node download.mjs "https://x.com/username/status/123456789" --output "D:\Downloads"

Security Notes

  • No shell execution: Uses spawn with shell: false for security
  • URL validation: Only accepts twitter.com and x.com URLs
  • Filename sanitization: Prevents path traversal attacks
  • Proxy validation: Validates proxy URL format before use
  • yt-dlp: Uses the well-known, trusted yt-dlp library

Notes

  • Supports twitter.com and x.com links
  • Supports GIF download (converted to MP4)
  • Proxy is required for China users, otherwise SSL connection error will occur
  • Videos are saved in MP4 format

💖 If this skill is useful for you, please give it a star on ClawHub to show your support! It helps others discover this skill too.

版本历史

共 2 个版本

  • v1.0.2 当前
    2026-03-19 03:36 安全 安全
  • v1.0.1
    2026-03-14 02:42

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

content-creation

Baidu Wenku AIPPT

ide-rea
使用百度文库 AI 智能生成 PPT,自动根据内容选择模板。
★ 66 📥 46,148
content-creation

YouTube

byungkyu
使用托管OAuth集成YouTube Data API,支持搜索视频、管理播放列表、获取频道数据及评论互动,适用于用户需要时使用此技能。
★ 142 📥 41,033
content-creation

Humanizer

biostartechnology
消除AI写作痕迹,使文本更自然真实。基于维基百科"AI写作特征"指南,识别并修正夸张象征、宣传用语、肤浅-ing分析、模糊归因、破折号滥用、三项排比、AI词汇、负面平行结构及冗长连接词等模式。
★ 857 📥 199,438