Update YoutubeCommentsInfoItemExtractor.java

This commit is contained in:
litetex 2021-05-20 22:25:14 +02:00
parent bedcd87abb
commit 01cfb55505

View File

@ -91,7 +91,7 @@ public class YoutubeCommentsInfoItemExtractor implements CommentsInfoItemExtract
* 6 * 6
*/ */
try { try {
// Sometimes the voteCount is missing // If a comment has no likes voteCount is not set
if(!json.has("voteCount")) { if(!json.has("voteCount")) {
return EMPTY_STRING; return EMPTY_STRING;
} }