no comments

This commit is contained in:
Ritvik Saraf 2018-09-27 23:01:27 +05:30
parent ad8066830d
commit c2ed99b1b7
1 changed files with 2 additions and 1 deletions

View File

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