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

Searches for YouTube videos with filtering and sorting options.

Video Search

Search for multiple YouTube videos

Parameters

options

An object containing the configuration options.

options.query

The search term. Required, min 2 characters.

options.minViews

(Optional) Minimum view count filter.

options.maxViews

(Optional) Maximum view count filter.

options.verbose

(Optional) Enable verbose logging.

options.orderBy

(Optional) Specify the sorting order. Available:

"relevance""viewCount""rating""date"

Implemented sorts are by viewCount (desc) and date (desc).

Return Value

An EventEmitter instance for handling events during the video search.

Emits "data"

On success: Array of video objects matching criteria.

Emits "error"

On failure (validation, search failure, no videos found).