Crate unm_engine_ytdl

source ·
Expand description

UNM Engine: ytdl

It can fetch audio from YouTube with the specified youtube-dl-like command.

The default is yt-dlp. You can configure it by configuring ytdl:exe in the ctx.config field. You can build ctx.config with unm_types::config::ConfigManagerBuilder, for example:

use unm_types::{ContextBuilder, config::ConfigManagerBuilder};

let config = ConfigManagerBuilder::new()
    .set("ytdl:exe", "youtube-dl")

let context = ContextBuilder::default()


The search and track engine powered by the youtube-dl-like command.