Search

PythonReactSEOPDF
GitHub Skill

yt-dlp

Video downloading skill using yt-dlp for YouTube and 1000+ other sites

Who-Visions☆ 1 Repository stars0 Repository forks

Installation

Follow the repository instructions for this skill and your agent. Review the files and dependencies before adding it to your workflow.

View source ↗Guides

Skill instructions

yt-dlp Skill

A powerful video downloading skill that leverages yt-dlp, a feature-rich command-line audio/video downloader supporting YouTube and 1000+ other sites.

Capabilities

Action Description
download_video Download video from URL with format selection
download_audio Extract audio only from video URL
get_info Extract video metadata without downloading
download_playlist Download entire playlist
download_subtitles Download video subtitles

Requirements

pip install yt-dlp

For audio extraction, FFmpeg must be installed and in PATH.

Usage Examples

Download Video
from rhea_noir.skills.ytdlp.actions import skill as ytdlp

# Download best quality video
result = ytdlp.download_video(
    url="https://www.youtube.com/watch?v=dQw4w9WgXcQ",
    output_dir="./downloads",
    format="best"
)
Extract Audio Only
# Download as MP3
result = ytdlp.download_audio(
    url="https://www.youtube.com/watch?v=dQw4w9WgXcQ",
    output_dir="./downloads",
    codec="mp3"
)
Get Video Info
# Get metadata without downloading
info = ytdlp.get_info("https://www.youtube.com/watch?v=dQw4w9WgXcQ")
print(info['title'], info['duration'], info['view_count'])
Download Playlist
result = ytdlp.download_playlist(
    url="https://www.youtube.com/playlist?list=PLxxxxx",
    output_dir="./downloads",
    max_videos=10  # Optional limit
)

Supported Sites

yt-dlp supports 1000+ sites including:

  • YouTube (videos, shorts, playlists, channels)
  • Vimeo
  • TikTok
  • Twitter/X
  • Instagram
  • SoundCloud
  • Twitch
  • And many more...

Full list: https://github.com/yt-dlp/yt-dlp/blob/master/supportedsites.md

Output Templates

The skill uses smart naming: %(title)s [%(id)s].%(ext)s

Custom templates can be passed via output_template parameter.

Examples

Read the usage examples in the source repository.

View source ↗

Source history

Indexed on
2026-01-20
Index updated
2026-01-26
Branch
main

Index and sync dates describe this directory. View the source repository for code history.

GitHub ↗

chat Comments (0)

chat_bubble_outline

No comments yet. Be the first to share your thoughts!