← 返回
内容创作 中文

Video Dl

Download videos from YouTube, Reddit, Twitter/X, TikTok, Instagram, and 1000+ other sites using yt-dlp. Use when user provides a video link and wants to download it.
使用 yt-dlp 从 YouTube、Reddit、Twitter/X、TikTok、Instagram 及 1000+ 个其他网站下载视频。当用户提供视频链接并希望下载时使用。
dimitryvin
内容创作 clawhub v1.1.0 1 版本 99948.2 Key: 无需
★ 0
Stars
📥 1,929
下载
💾 98
安装
1
版本
#latest

概述

Video Downloader

Download videos from almost any website using yt-dlp.

Supported Sites

YouTube, Reddit, Twitter/X, TikTok, Instagram, Vimeo, Facebook, Twitch, and 1000+ others. Full list: https://github.com/yt-dlp/yt-dlp/blob/master/supportedsites.md

Usage

Quick Download (best quality)

{baseDir}/scripts/download.sh "URL"

Downloads to ~/Downloads/videos/ with best quality.

With Options

{baseDir}/scripts/download.sh "URL" [OPTIONS]

Common options:

  • --audio-only - Extract audio only (mp3)
  • --720p - Limit to 720p max
  • --1080p - Limit to 1080p max
  • --output DIR - Custom output directory
  • --filename NAME - Custom filename (without extension)

Examples

# Download YouTube video (best quality)
{baseDir}/scripts/download.sh "https://www.youtube.com/watch?v=dQw4w9WgXcQ"

# Download Reddit video
{baseDir}/scripts/download.sh "https://www.reddit.com/r/videos/comments/abc123/cool_video/"

# Extract audio only
{baseDir}/scripts/download.sh "https://www.youtube.com/watch?v=dQw4w9WgXcQ" --audio-only

# Download to specific folder
{baseDir}/scripts/download.sh "URL" --output ~/Videos/projects

# Custom filename
{baseDir}/scripts/download.sh "URL" --filename "my-video"

Output

  • Default location: ~/Downloads/videos/
  • Filename format: {title}-{id}.{ext}
  • Returns full path to downloaded file on success

Notes

  • Reddit videos require merging video+audio (handled automatically)
  • Age-restricted YouTube videos may require cookies (not currently configured)
  • Very long videos may take time; script shows progress
  • If download fails, check if the site is supported or if the video is private/deleted

Sending to Telegram

Large videos need compression for Telegram's 16MB limit. For long videos:

  1. Download the video normally
  2. Run compression in background:

```bash

nohup {baseDir}/scripts/compress-and-send.sh "/path/to/video.mp4" "CHAT_ID" > /tmp/compress.log 2>&1 &

```

  1. Check back after estimated time (duration ÷ 4)
  2. Send the resulting -telegram.mp4 file

This avoids spamming the chat with progress updates.

Direct yt-dlp Access

For advanced usage, yt-dlp is available at ~/.local/bin/yt-dlp (updated) or /usr/bin/yt-dlp. See yt-dlp --help for all options.

版本历史

共 1 个版本

  • v1.1.0 当前
    2026-03-28 20:32 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

developer-tools

Aviation Weather

dimitryvin
从aviationweather.gov获取航空天气数据(METAR、TAF、PIREP)。用于飞行计划、天气简报、查询机场状况或飞行员相关天气咨询。当出现“METAR”、“TAF”、“飞行天气”、“机场天气”、“航空天气”、“飞行员报告”
★ 4 📥 3,106
content-creation

AdMapix

fly0pants
广告情报与应用数据分析助手,支持搜索广告素材、分析应用排名、下载量、收入及市场洞察,用于广告素材和竞品分析。
★ 295 📥 136,537
content-creation

Humanizer

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