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

GetUploads exception when one of playlists is unavailable- or something similar #854

Closed
4 of 6 tasks
tspossible opened this issue Dec 24, 2024 · 1 comment
Closed
4 of 6 tasks
Labels

Comments

@tspossible
Copy link

tspossible commented Dec 24, 2024

Version

6.5.0

Platform

MacOs

Steps to reproduce

var channel = await youtube.Channels.GetByHandleAsync("https://www.youtube.com/@wideoprezentacje");
var videosFromChannel = await youtube.Channels.GetUploadsAsync(channel.Id);

Details

YoutubeExplode.Exceptions.PlaylistUnavailableException: Playlist 'UUViVL2aOkLWKcFVi0_p6u6g' is not available.
   at YoutubeExplode.Playlists.PlaylistController.GetPlaylistNextResponseAsync(PlaylistId playlistId, Nullable`1 videoId, Int32 index, String visitorData, CancellationToken cancellationToken) in /_/YoutubeExplode/Playlists/PlaylistController.cs:line 106
   at YoutubeExplode.Playlists.PlaylistClient.GetVideoBatchesAsync(PlaylistId playlistId, CancellationToken cancellationToken)+MoveNext() in /_/YoutubeExplode/Playlists/PlaylistClient.cs:line 86
   at YoutubeExplode.Playlists.PlaylistClient.GetVideoBatchesAsync(PlaylistId playlistId, CancellationToken cancellationToken)+System.Threading.Tasks.Sources.IValueTaskSource<System.Boolean>.GetResult()
   at YoutubeExplode.Utils.Extensions.AsyncCollectionExtensions.SelectManyAsync[TSource,T](IAsyncEnumerable`1 source, Func`2 transform)+MoveNext() in /_/YoutubeExplode/Utils/Extensions/AsyncCollectionExtensions.cs:line 29
   at YoutubeExplode.Utils.Extensions.AsyncCollectionExtensions.SelectManyAsync[TSource,T](IAsyncEnumerable`1 source, Func`2 transform)+MoveNext() in /_/YoutubeExplode/Utils/Extensions/AsyncCollectionExtensions.cs:line 29
   at YoutubeExplode.Utils.Extensions.AsyncCollectionExtensions.SelectManyAsync[TSource,T](IAsyncEnumerable`1 source, Func`2 transform)+System.Threading.Tasks.Sources.IValueTaskSource<System.Boolean>.GetResult()
   at YoutubeExplode.Utils.Extensions.AsyncCollectionExtensions.ToListAsync[T](IAsyncEnumerable`1 source) in /_/YoutubeExplode/Utils/Extensions/AsyncCollectionExtensions.cs:line 49
   at YoutubeExplode.Utils.Extensions.AsyncCollectionExtensions.ToListAsync[T](IAsyncEnumerable`1 source) in /_/YoutubeExplode/Utils/Extensions/AsyncCollectionExtensions.cs:line 49
   at YoutubeExplode.Common.BatchItemExtensions.CollectAsync[T](IAsyncEnumerable`1 source) in /_/YoutubeExplode/Common/IBatchItem.cs:line 30
   at MediaDownloader.Web.Services.DownloaderService.CheckNewVideosForChannel(PerformContext context, Int32 chann

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
@tspossible tspossible added the bug label Dec 24, 2024
@Tyrrrz
Copy link
Owner

Tyrrrz commented Dec 30, 2024

Seems to work now

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

No branches or pull requests

2 participants