yt-dlp S3 Downloader
AI-generatedSummary
Download a video from a specified URL using yt-dlp with customizable format options, then upload the resulting MP4 file to a designated AWS S3 bucket under a specified object key, optionally generating a public URL for access.
Inputs
- Video URL (required) — The URL of the video to download, e.g., an Instagram Reel URL.
- S3 Bucket (required) — The target AWS S3 bucket where the video will be uploaded.
- Object Key (File Name) (required) — The S3 object key (file path and name) to save the video as, e.g., folder/video.mp4.
- S3 Public Base URL — An optional base URL to prepend to the object key to form a public-accessible URL for the uploaded video.
- Format (Yt-Dlp) — The yt-dlp format string to specify which video quality and format to download; defaults to 'best[ext=mp4]/bestvideo[ext=mp4]+bestaudio[ext=m4a]/best'.
Output shape
a list of JSON objects, one per input item
Each output item contains success status, S3 bucket name, object key, S3 upload location URL, optionally generated public URL based on the provided base URL, and the original video URL. On failure (if not continuing on fail), the node throws an error; if continuing on fail is enabled, error messages appear per item.
Examples
Example 1: Downloading a video from a YouTube URL and uploading it to an S3 bucket
Set the Video URL to the YouTube video link, specify the S3 Bucket and Object Key for storage, optionally provide a public URL base to generate an accessible link, and accept or modify the yt-dlp format string as needed.