Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

YoutubeExplode.Exceptions.VideoUnplayableException: 'Video is unplayable. Reason: 'Please sign in'.' #863

Closed
4 of 6 tasks
LucoseGlucose opened this issue Jan 21, 2025 · 1 comment

Comments

@LucoseGlucose
Copy link

Version

v6.5.1

Platform

.NET 9.0/Android

Steps to reproduce

protected override async void OnCreate(Bundle savedInstanceState)
{
activity = this;

base.OnCreate(savedInstanceState);
SetContentView(Resource.Layout.activity_main);

YoutubeExplode.YoutubeClient ytClient = new();
StreamManifest manifest = await ytClient.Videos.Streams.GetManifestAsync(new VideoId("IvB3-paCQFg"));

}

Details

Cannot get manifest of any video on new .NET for Android project.
When calling YoutubeClient.Videos.Streams.GetManifestAsync, YoutubeExplode.Exceptions.VideoUnplayableException is thrown with message 'Video is unplayable. Reason: 'Please sign in'.'
It may be the same cause as #853, but I doubt it because it happens on GetManifestAsync and throws a different exception.

Checklist

  • I have looked through existing issues to make sure that this bug has not been reported before
  • I have provided a descriptive title for this issue
  • I have made sure that this bug is reproducible on the latest version of the package
  • I have provided all the information needed to reproduce this bug as efficiently as possible
  • I have sponsored this project
  • I have not read any of the above and just checked all the boxes to submit the issue
@ijowett3
Copy link

I am seeing the same issue, I am using the library in a Blazor API. I have been getting the error sporadically recently but now on all videos. I think youTube have done something.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants