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.Multiple()

Searches for YouTube playlists based on a query string and returns the data of the first playlist found.

Search Playlists

Search YouTube for playlists by keyword

Parameters

options

An object containing the configuration options.

options.playlistLink

The search query string for playlists (e.g., "lofi hip hop playlist"). Required.

Minimum length of 2 characters.

Return Value

An EventEmitter instance for handling events during the playlist search.

Emits "data"

On success: Object containing details about the first matching playlist (ID, title, video count, thumbnails).

Emits "error"

On failure: Error message (validation, input is ID, no playlists found, internal issue).