Airkek / Youtube-Viewers

simple C# Youtube livestream botter
MIT License
211 stars 108 forks source link

Proxy gets hit with redirect to consent page #132

Closed IceyTroll closed 3 years ago

IceyTroll commented 3 years ago

Hey again,

Noticed that if you run with proxies that never has been used you should add a CookieContainer so that it will lower the amount of redirects. I run with the code below and it works for most of my proxies.

CookieContainer cookieContainer = new CookieContainer();
cookieContainer.Add(new Uri("https://www.youtube.com"), new Cookie("CONSENT", "YES+cb.20210629-13-p0.en+FX+407"));
Airkek commented 3 years ago

Thank you again!

Airkek commented 3 years ago

Solved in 5.3.1