YT-DLX: The Ultimate Multimedia Downloader
YT-DLX is a powerful and versatile tool that allows you to download audio and video content from a wide range of sources, including YouTube, Vimeo, and many more.

YtDlx.Audio.Highest()
Downloads or streams the highest quality audio from YouTube with filter options.
Highest Quality Audio
Download the highest quality audio available
Parameters
An object containing the configuration options.
The search query or video URL. Required.
(Optional) The directory to save the output file.Cannot be used with metadata: true
.
(Optional) Whether to use Tor.
(Optional) Whether to stream the output.Cannot be used with metadata: true
.
(Optional) Enable verbose logging.
(Optional) Only fetch metadata.Cannot be used with output
,stream
, orfilter
.
(Optional) A filter to potentially apply. Note: Actual application of filters might not work as expected.Cannot be used with metadata: true
.
Available: "invert"
"rotate90"
"rotate270"
"grayscale"
"rotate180"
"flipVertical"
"flipHorizontal"
Return Value
An EventEmitter instance for handling events during the audio processing.
FFmpeg command started.
Download/stream progress.
Process complete (path or stream path).
Video metadata, formats, suggested filename.(if metadata: true
)
Streamable filename/path and FFmpeg instance.(if stream: true
)
Error occurred.