Mithronn / rusty_ytdl

A Rust library for Youtube video searcher and downloader
https://docs.rs/rusty_ytdl
MIT License
107 stars 21 forks source link

`Video::get_basic_info()` panics with unlisted videos #12

Closed kubamik2 closed 11 months ago

kubamik2 commented 12 months ago

Here's an example:

#[tokio::main]
async fn main() {
    let video = rusty_ytdl::Video::new("LUq4oHF8W78").unwrap();
    let info = video.get_basic_info().await;
}
Mithronn commented 11 months ago

The commit 11f37d4 solved the issue. Thanks for the report.