Install
openclaw skills install youtube-masterGet YouTube video info, statistics, descriptions, thumbnails, and optionally transcripts. Uses YouTube Data API (free) for basic info and Apify (optional) fo...
openclaw skills install youtube-masterGet comprehensive YouTube video data including metadata, statistics, descriptions, thumbnails, and optionally transcripts.
YouTube videos require multiple APIs to get complete data. This skill intelligently uses:
| Data | Source |
|---|---|
| Title | ✅ YouTube API |
| Description | ✅ YouTube API |
| Channel Name | ✅ YouTube API |
| View Count | ✅ YouTube API |
| Like Count | ✅ YouTube API |
| Comment Count | ✅ YouTube API |
| Upload Date | ✅ YouTube API |
| Thumbnail URL | ✅ YouTube API |
| Tags | ✅ YouTube API |
| Transcript | ✅ Apify (on demand) |
┌─────────────────┐
│ Input: URL└────────┬/ID │
────────┘
│
▼
┌─────────────────┐
│ YouTube API │ ◄── FREE, always runs
│ (viewCount, │
│ description, │
│ title, etc.) │
└────────┬────────┘
│
┌────┴────┐
│ │
▼ ▼
┌───────┐ ┌──────────────┐
│ -- │ │ --transcript │
│info │ │ is requested │
│only │ └──────┬───────┘
└───┬───┘ │
│ ▼
│ ┌─────────────────┐
│ │ Apify API │ ◄── Only runs if
│ │ (transcript) │ explicitly asked
│ └────────┬────────┘
│ │
└─────┬───────┘
│
▼
┌─────────────────┐
│ Full Output │
└─────────────────┘
export YOUTUBE_API_KEY="AIzaSy..."
export APIFY_TOKEN="apify_api_..."
Add to ~/.openclaw/workspace/credentials/api-credentials.json:
{
"google": {
"api_key": "AIzaSy..."
},
"apify": {
"api_key": "apify_api_..."
}
}
python3 get_transcript.py "VIDEO_ID"
python3 get_transcript.py "https://www.youtube.com/watch?v=VIDEO_ID"
python3 get_transcript.py "VIDEO_ID" --transcript
python3 get_transcript.py "VIDEO_ID" -t
python3 get_transcript.py "VIDEO_ID" --transcript --lang tr
python3 get_transcript.py "VIDEO_ID" --info-only
python3 get_transcript.py dQw4w9WgXcQ
python3 get_transcript.py Oi3Z1wlZXhg --transcript --lang tr
python3 get_transcript.py VIDEO_ID > output.txt
get_transcript.py - Main script