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

[BUG] Can't retreive comment of any video #276

Open
bazini opened this issue Apr 27, 2024 · 1 comment
Open

[BUG] Can't retreive comment of any video #276

bazini opened this issue Apr 27, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@bazini
Copy link

bazini commented Apr 27, 2024

Fetching comments
I can not retrieve comments from any video. I got always this error.

Error output

E/flutter ( 8895): #0      _Comment._commentRenderer (package:youtube_explode_dart/src/reverse_engineering/clients/comments_client.dart:141:26)
E/flutter ( 8895): #1      _Comment._commentRenderer (package:youtube_explode_dart/src/reverse_engineering/clients/comments_client.dart)
E/flutter ( 8895): #2      _Comment.author (package:youtube_explode_dart/src/reverse_engineering/clients/comments_client.dart:158:7)
E/flutter ( 8895): #3      _Comment.author (package:youtube_explode_dart/src/reverse_engineering/clients/comments_client.dart)
E/flutter ( 8895): #4      CommentsClient.getComments.<anonymous closure> (package:youtube_explode_dart/src/videos/comments/comments_client.dart:32:17)
E/flutter ( 8895): #5      MappedListIterable.elementAt (dart:_internal/iterable.dart:425:31)
E/flutter ( 8895): #6      ListIterator.moveNext (dart:_internal/iterable.dart:354:26)
E/flutter ( 8895): #7      new _List._ofEfficientLengthIterable (dart:core-patch/array.dart:162:27)
E/flutter ( 8895): #8      new _List.of (dart:core-patch/array.dart:127:20)
E/flutter ( 8895): #9      new List.of (dart:core-patch/array_patch.dart:39:50)
E/flutter ( 8895): #10     ListIterable.toList (dart:_internal/iterable.dart:224:7)
E/flutter ( 8895): #11     CommentsClient.getComments (package:youtube_explode_dart/src/videos/comments/comments_client.dart:42:12)
E/flutter ( 8895): <asynchronous suspension>
E/flutter ( 8895): #12     _VideoComment._getComments (package:anat/inc/video_comment.dart:37:32)
E/flutter ( 8895): <asynchronous suspension>
E/flutter ( 8895): 

Enviroment:

  • Flutter Version 3.19.5
  • Dart 3.3.3
  • YoutubeExplode 2.2.0
@bazini bazini added the bug Something isn't working label Apr 27, 2024
@Foxify52
Copy link

Foxify52 commented Apr 30, 2024

This was taken from the getComments() function

"Returns a [List] containing the first batch of comments or null if the video has comments disabled. You can use [CommentsList.nextPage()] to get the next batch of comments.

WARNING: As of v2.2.0 this is broken due to yt updates."

Seems to be a known issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants