mirror of
https://github.com/TeamNewPipe/NewPipeExtractor.git
synced 2025-04-29 00:10:35 +05:30
Merge pull request #928 from FireMasterK/comment-urls
Parse YouTube comments as HTML
This commit is contained in:
commit
60fb30f835
@ -184,7 +184,7 @@ public class YoutubeCommentsInfoItemExtractor implements CommentsInfoItemExtract
|
|||||||
// https://github.com/TeamNewPipe/NewPipeExtractor/issues/380#issuecomment-668808584
|
// https://github.com/TeamNewPipe/NewPipeExtractor/issues/380#issuecomment-668808584
|
||||||
return "";
|
return "";
|
||||||
}
|
}
|
||||||
final String commentText = getTextFromObject(contentText);
|
final String commentText = getTextFromObject(contentText, true);
|
||||||
// YouTube adds U+FEFF in some comments.
|
// YouTube adds U+FEFF in some comments.
|
||||||
// eg. https://www.youtube.com/watch?v=Nj4F63E59io<feff>
|
// eg. https://www.youtube.com/watch?v=Nj4F63E59io<feff>
|
||||||
return Utils.removeUTF8BOM(commentText);
|
return Utils.removeUTF8BOM(commentText);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user