技能创建器
skill-creator
创建、改进和评估自定义技能,把专业流程转化为可重复使用的 AI 能力。
video-info-extractor【数据与研究】Get detailed metadata and information from YouTube videos before downloading, including title, duration, description, and available formats.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
This skill retrieves comprehensive information about YouTube videos without downloading them.
Get info about: https://www.youtube.com/watch?v=VIDEO_ID
What's the duration of this video: [URL]
Are there subtitles available for: [URL]
yt-dlp --dump-json "[URL]" 2>/dev/null | python3 -c "
import sys, json
data = json.load(sys.stdin)
print(f'''
## Video Information
**Title**: {data.get('title', 'N/A')}
**Channel**: {data.get('channel', 'N/A')}
**Duration**: {data.get('duration', 0) // 60}:{data.get('duration', 0) % 60:02d}
**Upload Date**: {data.get('upload_date', 'N/A')}
**Views**: {data.get('view_count', 0):,}
**Likes**: {data.get('like_count', 0):,}
### Description
{data.get('description', 'No description')[:500]}...
''')
"
yt-dlp -F "[URL]"
yt-dlp --list-subs "[URL]"
## 📹 Video Information
**Title**: How to Build a Startup in 2024
**Channel**: TechGuru
**Duration**: 15:32
**Uploaded**: January 15, 2024
**Views**: 1,234,567
**Likes**: 45,678
### Description
In this video, I share my experience building three startups and the lessons learned...
### Available Qualities
| Format | Resolution | Size (est.) |
|--------|------------|-------------|
| mp4 | 1080p | ~150 MB |
| mp4 | 720p | ~80 MB |
| mp4 | 480p | ~40 MB |
| mp3 | audio only | ~15 MB |
### Subtitles Available
- ✅ English (auto-generated)
- ✅ Chinese (auto-generated)
- ❌ Manual captions: None
### Recommendation
- **Best for shorts**: 1080p video with auto-subtitles
- **Estimated processing time**: ~5 minutes
Ready to proceed? Say:
- "Download this video" - Full video download
- "Extract audio only" - Just the audio
- "Download with subtitles" - Include caption files
Info is displayed directly. Optionally saves to:
./output/downloads/{video_id}_info.json