youtube-dl-rs
youtube-dl-rs copied to clipboard
Return ProcessResult back to user after download
download_to
returns Ok(())
even when the download actually failed (!exit_code.success()
). I'm not sure the reason behind this so left it intact. But for easier debugging for users, I changed it to return the ProcessResult so users can decide what to do with them.