Skip to content

Added isEdited state extraction to CommentsInfoItem#1513

Open
unleashedme wants to merge 2 commits into
TeamNewPipe:devfrom
unleashedme:dev
Open

Added isEdited state extraction to CommentsInfoItem#1513
unleashedme wants to merge 2 commits into
TeamNewPipe:devfrom
unleashedme:dev

Conversation

@unleashedme

Copy link
Copy Markdown

Description

This PR adds the ability to extract the edited status of YouTube comments to support UI indicators in the main app.

  • Added an isEdited() boolean to CommentsInfoItem.
  • Updated the extraction logic to evaluate the published time payload to determine if the comment has been modified.
  • This is the required backend implementation to resolve TeamNewPipe/NewPipe#13209.

Checklist

  • I carefully read the contribution guidelines and agree to them.
  • I have tested the API against NewPipe.
  • I agree to create a pull request for NewPipe as soon as possible to make it compatible with the changed API.

@sonarqubecloud

Copy link
Copy Markdown

@TobiGr

TobiGr commented Jun 12, 2026

Copy link
Copy Markdown
Contributor

Thank you. Please fix the checkstyle errors (https://github.com/TeamNewPipe/NewPipeExtractor/actions/runs/27422345289/job/81074807973?pr=1513#step:6:65) and add corresponding tests to YoutubeCommentsExtractorTest.java. Our docs explain how to record mock files.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

See comment title "edited"

2 participants