Closed omeldar closed 1 year ago
Using this
use text_io::read; use rusty_ytdl::*; #[tokio::main] async fn main() { let url: String = read!(); let video_options = VideoOptions { quality: VideoQuality::Highest, filter: VideoSearchOptions::VideoAuido, ..Default::default() }; let video = Video::new_with_options(url, video_options).unwrap(); let a: Result<Vec<u8>, VideoError> = video.download().await; }
I do not find any file anywhere. No error thrown as well.
Nevermind I found it, its just the buffer not to file. Maybe add some documentation on how to download to file at root repository.
Using this
I do not find any file anywhere. No error thrown as well.