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

Try to download the video with getallvideos, but got 503 error. #268

Closed
fema3832 opened this issue Dec 17, 2022 · 2 comments
Closed

Try to download the video with getallvideos, but got 503 error. #268

fema3832 opened this issue Dec 17, 2022 · 2 comments

Comments

@fema3832
Copy link

fema3832 commented Dec 17, 2022

When i try to downlaod the best quality video with libvideo with a c# .net code:

 IEnumerable<YouTubeVideo> videos = youtube.GetAllVideos(Url);
 video = videos.OrderByDescending(o => o.Resolution).ThenByDescending(o => o.Fps).First();
 File.WriteAllBytes(videoPath, video.GetBytes());

I got an error: System.Net.Http.HttpRequestException: Response status code does indicate success: 503 (Service Unavaliable)
uqmVXJGnt6

@fema3832 fema3832 changed the title Try to download the best qu Try to download the best quality video, but drop 503 error. Dec 17, 2022
@fema3832 fema3832 changed the title Try to download the best quality video, but drop 503 error. Try to download the best quality video, but got 503 error. Dec 17, 2022
@fema3832 fema3832 changed the title Try to download the best quality video, but got 503 error. Try to download the video with getallvideos, but got 503 error. Dec 17, 2022
@mohammadjouhari
Copy link

mohammadjouhari commented Dec 21, 2022

is the issue resolved I am geting 503 in youtube.GetVideo(); any Reason ? No excpetion is being thrown ? why >?

@omansak
Copy link
Owner

omansak commented Dec 28, 2022

#270

@omansak omansak closed this as completed Dec 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants