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

YT: Could not get like count #1133

Closed
litetex opened this issue Nov 30, 2023 · 0 comments · Fixed by #1127
Closed

YT: Could not get like count #1133

litetex opened this issue Nov 30, 2023 · 0 comments · Fixed by #1127
Labels
bug Issue is related to a bug youtube service, https://www.youtube.com/

Comments

@litetex
Copy link
Member

litetex commented Nov 30, 2023

While watching a few YT videos today I noticed the following error repeatedly poping up: Could not get like count

Same issue was also reported in TeamNewPipe/NewPipe#10611 and the nightly CI tests are also reporting this: https://github.com/TeamNewPipe/NewPipeExtractor/actions/runs/7040417191/job/19161297378

YoutubeStreamExtractorUnlistedTest > testLikeCount() FAILED
    org.schabi.newpipe.extractor.exceptions.ParsingException: Could not get like count
        at app//org.schabi.newpipe.extractor.services.youtube.extractors.YoutubeStreamExtractor.getLikeCount(YoutubeStreamExtractor.java:479)
        at app//org.schabi.newpipe.extractor.services.DefaultStreamExtractorTest.testLikeCount(DefaultStreamExtractorTest.java:223)
        ...

        Caused by:
        java.lang.NullPointerException
            at org.schabi.newpipe.extractor.services.youtube.extractors.YoutubeStreamExtractor.lambda$getLikeCount$7(YoutubeStreamExtractor.java:429)
            at java.base/java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:176)
            ...
            at org.schabi.newpipe.extractor.services.youtube.extractors.YoutubeStreamExtractor.getLikeCount(YoutubeStreamExtractor.java:437)
            ... 85 more

Looks like this is currently in the A/B testing phase so it might not be 100% reproducible (currently rollout seems to be at ~30%).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Issue is related to a bug youtube service, https://www.youtube.com/
Projects
None yet
1 participant