pub async fn download_best_quality(video_identifier: &str) -> Result<PathBuf>
Expand description

The absolute most straightforward way of downloading a YouTube video in high quality!

Takes an arbitrary video identifier, like any video URL, or the video id, and downloads the video to <VIDEO_ID>.mp4 in the current working directory.

For more control over the download process have a look at the crate level documentation, or at the Video struct.