Download Video
AI-generatedSummary
Download a video from a supported URL using yt-dlp, returning the file as binary data and metadata as JSON.
Inputs
- videoUrl (required) — YouTube URL, video ID, or any URL supported by yt-dlp (1000+ sites)
- videoQuality — Maximum video resolution to download
- outputFilename — Custom filename without extension (auto-generated if blank)
- useProxy — Whether to route the request through a proxy server
- proxyUrl — Proxy URL — supports HTTP, HTTPS, and SOCKS5 protocols
- customFlags — Additional yt-dlp command-line flags for advanced use cases
Output shape
returns binary video file plus JSON metadata on the main output
Output file size, title, author, duration, view count, and format are provided in the JSON payload; the binary payload contains the downloaded file streamable via n8n's prepareBinaryData helper.