-
Notifications
You must be signed in to change notification settings - Fork 3
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
Playlist response is broken after YouTube API update #1
Comments
This seems to be working all right on my end - I can't reproduce the error. This part of the error message you posted suggests to me that this error may have been temporary:
@03stevensmi Does this error persist on your end with a verified working internet connection? If not, please close this issue. Thanks! |
Yes the error persist on a verified working internet connection. Funny enough it was working a few month ago before I uninstalled net core 3.1. Can you tell me the exact net-core 3.1 installation exe you are using?. Same error on version 3.1.10 as well.
Unhandled exception. YoutubeExplode.Exceptions.TransientFailureException: Video watch page is broken. --- End of stack trace from previous location where exception was thrown --- at CommandLine.ParserResultExtensions.WithParsedAsync[T](ParserResult 1 result, Func 2 action)at SubTubular.Program.Main(String[] args) in D:\projects\SubTubular\Program.cs:line 47 at SubTubular.Program.(String[] args) |
Now I've got this error. Can you take a look: SubTubular search-videos egeCYaIe21Y gDrFdxWNk8c -f physician,physicist Unhandled exception. YoutubeExplode.Exceptions.FatalFailureException: Failed to perform an HTTP request to YouTube due to a fatal failure. Method: GET, RequestUri: 'https://www.youtube.com/get_video_info?video_id=egeCYaIe21Y&el=embedded&eurl=https://youtube.googleapis.com/v/egeCYaIe21Y&hl=en&sts=', Version: 1.1, Content: , Headers: StatusCode: 404, ReasonPhrase: 'Not Found', Version: 1.1, Content: System.Net.Http.HttpConnectionResponseContent, Headers: --- End of stack trace from previous location where exception was thrown --- at CommandLine.ParserResultExtensions.WithParsedAsync[T](ParserResult 1 result, Func 2 action)at SubTubular.Program.Main(String[] args) in D:\projects\SubTubular\Program.cs:line 47 at SubTubular.Program.(String[] args) |
Yeah, the issue is happening to my friend as well. Same error message. I got him to try it out. |
Thanks for reporting this issue - finally got around to fixing it. The problem was indeed a change in the YouTube API. Please check out version 2.0.0! |
It was working last time I used this. I Installed everything (net core 3.1.11 & 3.1.13 desktop, runtime & server.
Now I get this error:
SubTubular search-channel https://www.youtube.com/channel/UC0rZoXAD5lxgBHMsjrGwWWQ --for "free speech,censorship,cancel culture,cancelculture,freespeech" --latest 500
Press any key to cancel
Unhandled exception. YoutubeExplode.Exceptions.TransientFailureException: Playlist response is broken.
(String[] args)In most cases, this error indicates that the problem is on YouTube's side and this is not a bug in the library.
To resolve this error, please wait some time and try again.
If this issue persists, please report it on the project's GitHub page.
at YoutubeExplode.ReverseEngineering.Responses.PlaylistResponse.Parse(String raw)
at YoutubeExplode.ReverseEngineering.Responses.PlaylistResponse.<>c__DisplayClass11_0.<b__0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at YoutubeExplode.Internal.Retry.WrapAsync[T](Func
1 executeAsync) at YoutubeExplode.Internal.Retry.WrapAsync[T](Func
1 executeAsync)at YoutubeExplode.ReverseEngineering.Responses.PlaylistResponse.GetAsync(YoutubeHttpClient httpClient, String id, Int32 index)
at YoutubeExplode.Playlists.PlaylistClient.GetVideosAsync(PlaylistId id)+MoveNext()
at YoutubeExplode.Playlists.PlaylistClient.GetVideosAsync(PlaylistId id)+System.Threading.Tasks.Sources.IValueTaskSource<System.Boolean>.GetResult()
at YoutubeExplode.Internal.Extensions.AsyncEnumerableExtensions.ToListAsync[T](IAsyncEnumerable
1 asyncEnumerable) at YoutubeExplode.Internal.Extensions.AsyncEnumerableExtensions.ToListAsync[T](IAsyncEnumerable
1 asyncEnumerable)at YoutubeExplode.AccessibilityExtensions.BufferAsync(IAsyncEnumerable
1 asyncVideoEnumerable) at SubTubular.Youtube.SearchPlaylistAsync(SearchPlaylistCommand command, CancellationToken cancellation)+MoveNext() in D:\projects\SubTubular\Youtube.cs:line 40 at SubTubular.Youtube.SearchPlaylistAsync(SearchPlaylistCommand command, CancellationToken cancellation)+System.Threading.Tasks.Sources.IValueTaskSource<System.Boolean>.GetResult() at SubTubular.Program.Search[T](SearchCommand command, Func
2 getResultsAsync, Action1 displayResult) in D:\projects\SubTubular\Program.cs:line 96 at SubTubular.Program.Search[T](SearchCommand command, Func
2 getResultsAsync, Action1 displayResult) in D:\projects\SubTubular\Program.cs:line 96 at SubTubular.Program.<>c.<<Main>b__1_2>d.MoveNext() in D:\projects\SubTubular\Program.cs:line 35 --- End of stack trace from previous location where exception was thrown --- at CommandLine.ParserResultExtensions.WithParsedAsync[T](ParserResult
1 result, Func`2 action)at SubTubular.Program.Main(String[] args) in D:\projects\SubTubular\Program.cs:line 39
at SubTubular.Program.
Will you be able to fix it?
The text was updated successfully, but these errors were encountered: