[YouTube] Add comment reply count support#936
[YouTube] Add comment reply count support#936TobiGr merged 10 commits intoTeamNewPipe:devfrom xz-dev:dev
Conversation
TobiGr
left a comment
There was a problem hiding this comment.
Thank you for that addition.
Please implement the tests for YouTube.
The reply count should also be extracted for the other services (e.g. PeerTube).
extractor/src/main/java/org/schabi/newpipe/extractor/comments/CommentsInfoItemExtractor.java
Outdated
Show resolved
Hide resolved
AudricV
left a comment
There was a problem hiding this comment.
Additional changes that should be made.
Also, please remove the unneeded JavaDoc changes, which were probably made by your IDE.
extractor/src/main/java/org/schabi/newpipe/extractor/comments/CommentsInfoItem.java
Outdated
Show resolved
Hide resolved
extractor/src/main/java/org/schabi/newpipe/extractor/comments/CommentsInfoItem.java
Outdated
Show resolved
Hide resolved
extractor/src/main/java/org/schabi/newpipe/extractor/comments/CommentsInfoItemExtractor.java
Outdated
Show resolved
Hide resolved
Co-authored-by: AudricV <74829229+AudricV@users.noreply.github.com> Co-authored-by: AudricV <74829229+AudricV@users.noreply.github.com>
Restored |
TobiGr
left a comment
There was a problem hiding this comment.
Just some small things from my end
...g/schabi/newpipe/extractor/services/youtube/extractors/YoutubeCommentsInfoItemExtractor.java
Outdated
Show resolved
Hide resolved
...rc/test/java/org/schabi/newpipe/extractor/services/youtube/YoutubeCommentsExtractorTest.java
Outdated
Show resolved
Hide resolved
...rc/test/java/org/schabi/newpipe/extractor/services/youtube/YoutubeCommentsExtractorTest.java
Outdated
Show resolved
Hide resolved
Co-authored-by: Tobi <TobiGr@users.noreply.github.com>
Implementing this for PeerTube should be the same effort as you had with YouTube - less than ten lines. Can you please take care of it? |
We even not support get the PeerTube comment reply. |
|
I think the pull request is ready been merge, is there any questions? |
...g/schabi/newpipe/extractor/services/youtube/extractors/YoutubeCommentsInfoItemExtractor.java
Show resolved
Hide resolved
|
I added a commit to fix exceptions when comments do not have replies and thus no |
AudricV
left a comment
There was a problem hiding this comment.
A few changes remaining and this can be merged in my opinion.
Thank you for this feature!
...g/schabi/newpipe/extractor/services/youtube/extractors/YoutubeCommentsInfoItemExtractor.java
Outdated
Show resolved
Hide resolved
...rc/test/java/org/schabi/newpipe/extractor/services/youtube/YoutubeCommentsExtractorTest.java
Outdated
Show resolved
Hide resolved
...rc/test/java/org/schabi/newpipe/extractor/services/youtube/YoutubeCommentsExtractorTest.java
Outdated
Show resolved
Hide resolved
...rc/test/java/org/schabi/newpipe/extractor/services/youtube/YoutubeCommentsExtractorTest.java
Outdated
Show resolved
Hide resolved
Co-authored-by: AudricV <74829229+AudricV@users.noreply.github.com>
AudricV
left a comment
There was a problem hiding this comment.
LGTM, thank you very much!
Please avoid in the future writing usernames with @ in commits, as if they contain these usernames in this form, you would probably send a GitHub notification each time the commits are rebased and/or pushed (that's what happened for me with your latest commits), including in repositories forks if I am not wrong.
This PR will be merged using the Squash and merge command.
|
Ok, I'll, usernames with @ in commits is github auto add it here, I don't know why github do that, so I keep it here. |
Add comment reply count support, just like youtube.
Fix #935