omansak / libvideo

A lightweight .NET library to download YouTube videos.
BSD 2-Clause "Simplified" License
538 stars 163 forks source link

Video has unavailable stream - LOGIN_REQUIRED #287

Open bobandrew opened 1 month ago

bobandrew commented 1 month ago

hello, I'm wondering if anyone knows how to bypass the LOGIN_REQUIRED error?

The line of code below is throwing the error "Video has unavailable stream". var allVideos = await youTube.GetAllVideosAsync(link);

I tried to look under the hood and found that SelectToken("playabilityStatus.status") is returning LOGIN_REQUIRED. Any help would be appreciated.

Thanks in advance.

tenshon commented 4 days ago

In case this helps the developer, the regular download page on YouTube now requires you to login, but the embed code URL still lets you access it without logging in.

omansak commented 2 days ago

Hello, thank you for raising this issue. Could you please share the related video ID?