yt-dlp
Video downloading skill using yt-dlp for YouTube and 1000+ other sites
Installation
Suivez les instructions du dépôt pour votre agent. Consultez les fichiers et dépendances avant l’installation.
Voir la source ↗GuidesInstructions
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
- 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.
Exemples
Consultez les exemples du dépôt source.
Voir la source ↗Historique source
- Date d’indexation
- 2026-01-20
- Mise à jour de l’index
- 2026-01-26
- Branch
- main
Les dates concernent ce répertoire. Consultez le dépôt pour l’historique du code.
GitHub ↗chat Comments (0)
Sign in to join the discussion and leave a comment.
No comments yet. Be the first to share your thoughts!