source.youtube_download
Operation: source.youtube_download
Category: source
Tags: yt-dlp, youtube, download
Download a video from YouTube using yt-dlp
Runtime
Section titled “Runtime”Type: Tool — requires fabric-platform/yt-dlp container
Timeout: 300s
Retries: 3 (ExponentialWithJitter)
Requires: tool.yt-dlp
Inputs
Section titled “Inputs”| Name | Type | Required | Default | Description |
|---|---|---|---|---|
url | String | Yes | — | YouTube video URL |
Outputs
Section titled “Outputs”| Name | Type | Description |
|---|---|---|
output_file | Asset | Downloaded video file |
Default Configuration
Section titled “Default Configuration”{ "output_dir": "/tmp/fabric-downloads"}import { WorkflowBuilder } from "@fabric-platform/sdk";
const workflow = new WorkflowBuilder("my-workflow") .node("source-youtube-download", "tool", (n) => n.config({ operation: "source.youtube_download", // ... node-specific config }) ) .build();from fabric_platform import FabricClient
fabric = FabricClient(api_key="fab_xxx")
wf_id = fabric.upsert_workflow("my-workflow", nodes=[ { "key": "source-youtube-download", "kind": "tool", },])use fabric_sdk::FabricClient;
let client = FabricClient::new("http://localhost:3001", api_key)?;
let wf_id = client.upsert_workflow("my-workflow", serde_json::json!({ "nodes": [{ "key": "source-youtube-download", "kind": "tool" }]})).await?;curl -X POST http://localhost:3001/v1/workflow-definitions \ -H "Authorization: Bearer $FABRIC_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "name": "my-workflow", "nodes": [{ "key": "source-youtube-download", "kind": "tool" }] }'