Closed wolfSYS closed 3 years ago
Yeah, the same problem here
We need the possibility to pass HttpClient to the YoutubeClient. In HttpClient we could set the CONSENT cookie for Youtube like this:
Uri uri = new Uri("https://www.youtube.com");
HttpClientHandler handler = new HttpClientHandler();
handler.CookieContainer = new CookieContainer();
handler.CookieContainer.Add(uri, new Cookie("CONSENT", "YES+cb", "/", "youtube.com"));
HttpClient hc = new HttpClient(handler);
// that would be needed:
YoutubeClient youtube = new YoutubeClient(hc);_
please test #201
please test 3.1.1 on github and nuget
solved with ver 3.1.1 thx a lot!
I had to see that all of a sudden your library stopped working. It is not any longer possible to obtain any files from youtube.
Both GetAllVideosAsync() and GetVideoAsync() return NULL für every single YT ID.