Skip to content

[YouTube] Could not parse website (could not get item duration) #13281

@Stypox

Description

@Stypox

Checklist

  • I am able to reproduce the bug with the latest version given here: CLICK THIS LINK.
  • I made sure that there are no existing issues - open or closed - which I could contribute my information to.
  • I have read the FAQ and my problem isn't listed.
  • I have taken the time to fill in all the required details. I understand that the bug report will be dismissed otherwise.
  • This issue contains only one bug.
  • I have read and understood the contribution guidelines.
  • I have read and understood the AI policy. The content of this bug report is not generated by AI.

Description

We received this bug report via email, and furthermore I think I have seen some Snackbars recently in the VideoDetailsFragment. This still seems to happen only very rarely so I guess it is a new A/B test. They probably moved the duration field to another accessibility element in the JSON structure.

Affected version

0.28.3

Logs

  • User Action: requested stream
  • Request: Some info not extracted: https://www.youtube.com/watch?v=E4qBPPYwfBc
  • Content Country: PH
  • Content Language: en-PH
  • App Language: en_PH
  • Service: YouTube
  • Timestamp: 2026-02-22T11:20:14.584+08:00
  • Package: org.schabi.newpipe
  • Service: YouTube
  • Version: 0.28.3
  • OS: Linux 14 - 34
Exceptions (20) - Crash log 1

org.schabi.newpipe.extractor.exceptions.ParsingException: Could not get duration: No parsable durations detected
at org.schabi.newpipe.extractor.services.youtube.extractors.YoutubeStreamInfoItemLockupExtractor.getDuration(YoutubeStreamInfoItemLockupExtractor.java:167)
at org.schabi.newpipe.extractor.stream.StreamInfoItemsCollector.extract(StreamInfoItemsCollector.java:52)
at org.schabi.newpipe.extractor.MultiInfoItemsCollector.extract(MultiInfoItemsCollector.java:82)
at org.schabi.newpipe.extractor.MultiInfoItemsCollector.extract(MultiInfoItemsCollector.java:48)
at org.schabi.newpipe.extractor.InfoItemsCollector.commit(InfoItemsCollector.java:104)
at org.schabi.newpipe.extractor.services.youtube.extractors.YoutubeStreamExtractor$$ExternalSyntheticLambda21.accept(R8$$SyntheticClass:0)
at org.schabi.newpipe.extractor.services.youtube.extractors.YoutubeStreamExtractor.getRelatedItems(YoutubeStreamExtractor.java:821)
at org.schabi.newpipe.extractor.services.youtube.extractors.YoutubeStreamExtractor.getRelatedItems(YoutubeStreamExtractor.java:104)
at org.schabi.newpipe.extractor.utils.ExtractorHelper.getRelatedItemsOrLogError(ExtractorHelper.java:35)
at org.schabi.newpipe.extractor.stream.StreamInfo.extractOptionalData(StreamInfo.java:339)
at org.schabi.newpipe.extractor.stream.StreamInfo.getInfo(StreamInfo.java:82)
at org.schabi.newpipe.extractor.stream.StreamInfo.getInfo(StreamInfo.java:72)
at org.schabi.newpipe.util.ExtractorHelper.$r8$lambda$bVfA-5gb6gDc8jcAgcGWG5oH0FE(ExtractorHelper.java:118)
at org.schabi.newpipe.util.ExtractorHelper$$ExternalSyntheticLambda3.call(R8$$SyntheticClass:0)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugIssue is related to a bugrequires extractor changeThis issue requires a change to the extractoryoutubeService, https://www.youtube.com/

    Type

    Projects

    Status

    Todo

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions