← 返回
内容创作 中文

Youtube Audio Download

Download YouTube video audio and convert to MP3. Supports age-restricted videos with cookies.
下载 YouTube 视频音频并转为 MP3,支持使用 Cookie 下载年龄限制视频。
banner90
内容创作 clawhub v1.0.6 1 版本 99901.2 Key: 无需
★ 1
Stars
📥 991
下载
💾 34
安装
1
版本
#latest

概述

Youtube Audio Download

Usage

python scripts/download_audio.py <URL> [--cookies cookies.txt] [--output-dir dir]

Parameters

  • url (required): YouTube video URL
  • cookies_path (optional): Path to cookies.txt for age-restricted videos
  • output_dir (optional): Output directory, default: "works/audio"

Returns

{
  "success": true,
  "audio_path": "H:/works/audio/video_title-xxxxx.mp3",
  "title": "Video Title",
  "duration": 1200,
  "file_size_mb": 15.5
}

Tools

download_audio

Download YouTube audio to MP3

Workflow Integration

This skill is part of the YouTube translation workflow:

  1. youtube-audio-download: Download audio from YouTube
  2. doubao-launch: Launch Doubao translation window
  3. audio-play: Play the downloaded audio
  4. doubao-capture: Capture translated subtitles

Execution

All skills execute on Windows Python via WSL cross-platform call:

wsl -> python.exe scripts/download_audio.py ...

Error Handling

All skills return JSON with success field:

  • success: true - Operation completed
  • success: false - Check error_code and error_message

Notes

  • Windows GUI automation requires visible desktop (no RDP disconnect)
  • Output files are stored in Windows works/ directory
  • WSL accesses Windows files via /mnt/h/...

版本历史

共 1 个版本

  • v1.0.6 当前
    2026-03-29 22:31 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

productivity

Doubao Launch

banner90
启动豆包桌面应用并配置实时翻译窗口。
★ 0 📥 838
content-creation

Humanizer

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

AdMapix

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