no comments

This commit is contained in:
Ritvik Saraf 2018-09-27 23:01:27 +05:30
parent ad8066830d
commit c2ed99b1b7

View File

@ -116,7 +116,8 @@ public class YoutubeCommentsExtractor extends CommentsExtractor {
try { try {
contents = (JsonArray) JsonUtils.getValue(ajaxJson, "response.continuationContents.itemSectionContinuation.contents"); contents = (JsonArray) JsonUtils.getValue(ajaxJson, "response.continuationContents.itemSectionContinuation.contents");
}catch(Exception e) { }catch(Exception e) {
throw new ParsingException("unable to get parse youtube comments", e); //no comments
return;
} }
fetchTitle(contents); fetchTitle(contents);
List<Object> comments; List<Object> comments;