handle empty comments

This commit is contained in:
Ritvik Saraf 2018-12-21 11:02:57 +05:30
parent 9ad102df3f
commit c77050dc70
1 changed files with 1 additions and 2 deletions

View File

@ -7,7 +7,6 @@ import java.util.Arrays;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
import javax.annotation.Nonnull;
@ -210,7 +209,7 @@ public class YoutubeCommentsExtractor extends CommentsExtractor {
}
return result;
} catch (Exception e2) {
throw new ParsingException("Could not get text", e2);
return "";
}
}
}