YouTube Downloader icon

YouTube Downloader

Download videos, audio, transcripts, and subtitles via yt-dlp

Download Audio

AI-generated

Summary

Extract audio from a video URL using yt-dlp and return it as binary data with metadata

Inputs

  • videoUrl (required) — YouTube URL, video ID, or any URL supported by yt-dlp (1000+ sites)

Output shape

pairedItem and binary, with metadata JSON

Download Audio operation consumes the videoUrl parameter and optional audioQuality/outputFilename/useProxy/proxyUrl/customFlags. Returns a JSON object with success, videoId, title, author, lengthSeconds, downloadType, fileSize, and format. Also returns the audio file as binary data via pairedItem. The operation extracts the audio track, writes to a temporary file, reads it via prepareBinaryData, and cleans up temporary files and cookie files after execution.

Examples

Example 1: Download highest-quality audio from a YouTube video

videoUrl=https://www.youtube.com/watch?v=abc123, audioQuality=highest, outputFilename=, useProxy=false, proxyUrl=, customFlags=

Links

Discussion