Ensure comments are parsed with URLs and timestamps.

This commit is contained in:
Kavin 2022-09-17 16:03:39 +05:30
parent 14ef430546
commit 4e14644c41
No known key found for this signature in database
GPG Key ID: 49451E4482CC5BCD
1 changed files with 1 additions and 1 deletions

View File

@ -183,7 +183,7 @@ public class YoutubeCommentsInfoItemExtractor implements CommentsInfoItemExtract
// https://github.com/TeamNewPipe/NewPipeExtractor/issues/380#issuecomment-668808584
return "";
}
final String commentText = getTextFromObject(contentText);
final String commentText = getTextFromObject(contentText, true);
// YouTube adds U+FEFF in some comments.
// eg. https://www.youtube.com/watch?v=Nj4F63E59io<feff>
return Utils.removeUTF8BOM(commentText);