Mithronn / rusty_ytdl

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

VideoIsPrivate #45

Closed ThatOneToast closed 1 month ago

ThatOneToast commented 1 month ago

All videos are publicly available and I am able to watch them without being signed in at all.

These are my options that I am downloading with.

let video_options = VideoOptions {
    quality: yt::VideoQuality::HighestAudio,
    request_options: yt::RequestOptions {
        proxy: Some(reqwest::Proxy::http("socks5://192.168.68.55:58358").unwrap()),
        max_retries: Some(3),
        ..Default::default()
    },
    ..Default::default()
};

It seems like 85-90% of the time I run into the VideoIsPrivate error even tho it's not. I have tried using different proxies in case that was an issue and no proxy at all, as well as routing all traffic. Sometimes we'll get a connection but then cancel at a 403 code, but then right again try to download you get a VideoIsPrivate.

Mithronn commented 1 month ago

Duplicate of #39