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.

logo
Documentation

YtDlx.Search.Playlist.Single()

Fetches data for a YouTube playlist. Retrieves details about a YouTube playlist, including its title, video count, and a list of videos within the playlist. Requires a valid YouTube playlist link as input.

Fetch Playlist Data

Retrieve details and videos from a YouTube playlist

Parameters

options

An object containing the configuration options.

options.playlistLink

The URL of the YouTube playlist. Required.

Return Value

An EventEmitter instance for handling events during playlist data fetching.

Emits "data"

On success: object containing playlist ID, title, video count, and array of video objects.

Emits "error"

On failure: Error message (validation, ID extraction, fetch failure).