ytd-rs
This is a simple wrapper for youtube-dl in rust.
// youtube-dl arguments quietly run process and to format the output
// one doesn't take any input and is an option, the other takes the desired output format as input
let args = vec!;
let link = "https://www.youtube.com/watch?v=uTO0KnDsVH0";
let ytd = new.unwrap;
// start download
let download = ytd.download;
// check what the result is and print out the path to the download or the error
match download.result_type ;