Youtubeexplode: Seems like YouTube's changing something in the backend again...

Created on 29 Jul 2019  Â·  18Comments  Â·  Source: Tyrrrz/YoutubeExplode

image
Seems like when a search is performed now and contains anything in the URL past the VideoID, the parse method messes up somehow? Because when I removed the "&t=0s" afterwards, I got it to load the video just fine.
image

bug caused by youtube

Most helpful comment

Good morning to you too

All 18 comments

I just tried it with another video, that one rejected me earlier too with an additional "&t=28s" after, but this time it went through? So I tried the original video again and it still fed me back the same message.
Curious thing is I have plenty of Try Catches to prevent it within my own software, so this crash might be happening within YouTube Explode?

Having a very similar issue.

same here

They have remove video_id in the first level return result. So if we just remove the check of if video_id existency,it will working. This can be a temporary solution.

Get Outlook for Androidhttps://aka.ms/ghei36


From: BlauFx notifications@github.com
Sent: Monday, July 29, 2019 7:20:39 PM
To: Tyrrrz/YoutubeExplode YoutubeExplode@noreply.github.com
Cc: Subscribed subscribed@noreply.github.com
Subject: Re: [Tyrrrz/YoutubeExplode] Seems like YouTube's changing something in the backend again... (#281)

same here

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHubhttps://github.com/Tyrrrz/YoutubeExplode/issues/281?email_source=notifications&email_token=AL3S3DTF7XJYOVIFS5TWHMTQB53MPA5CNFSM4IHWPD3KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD3CI7YY#issuecomment-516198371, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AL3S3DT46OPOPF6OE2LSKFLQB53MPANCNFSM4IHWPD3A.

same issue

same issue

I have the same problem.
It come from YoutubeClient.Video -> GetVideoInfoDicAsync() ->
// If video ID is not set - throw if (result.GetValueOrDefault("video_id").IsNullOrWhiteSpace()) throw new VideoUnavailableException(videoId, $"Video [{videoId}] is unavailable.");

Seems like video_id is not in get_video_info response.
I've commented it and still working.

Good morning to you too

@Tyrrrz Good Morning .... and thanks again for the library & the quick fix

Has this been fixed yet? If it has, the NuGet package hasn't been updated yet.

@ShimmyMySherbet For now download from here: https://ci.appveyor.com/project/Tyrrrz/youtubeexplode/build/artifacts
I am not sure how long/when a nuget.org release is

It was uploaded, it takes some time to get indexed
https://ci.appveyor.com/project/Tyrrrz/youtubeexplode/builds/26339237

Oh ok, thanks.

Thanks mate. Works like a charme now!

😄

I'm still having a little bit of an issue... it works fine when I launch it from Visual Studio and build my project, but when I use the executable outside of VS it crashes my program when simply collecting info. Do I need to rework how I fetch info?
image

Nevermind I was in a slightly wrong directory

This happens with video_id = "A_MjCqQoLLA". In YoutubeExplode.Internal.HttpClientEx in Line 61
public static async Task GetStreamAsync(this HttpClient client, string requestUri,
long? from = null, long? to = null, bool ensureSuccess = true)

Http Response Code is forbidden 403

Was this page helpful?
0 / 5 - 0 ratings

Related issues

jungjanos picture jungjanos  Â·  6Comments

NoobInTraining picture NoobInTraining  Â·  5Comments

jvitoroc picture jvitoroc  Â·  8Comments

D0vid picture D0vid  Â·  5Comments

nk34player picture nk34player  Â·  4Comments