youtube-dl-rs
Runs youtube-dl and parses its JSON output. Example:
use YoutubeDl;
let output = new
.socket_timeout
.run
.unwrap;
let title = output.into_single_video.unwrap.title;
println!;
Or, if you want to it to run asynchronously (enable the feature tokio):
let output = new
.socket_timeout
.run_async
.await?;
let title = output.into_single_video.unwrap.title;
println!;
Ok