Skip to content

Commit c77050d

Browse files
committed
handle empty comments
1 parent 9ad102d commit c77050d

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

extractor/src/main/java/org/schabi/newpipe/extractor/services/youtube/extractors/YoutubeCommentsExtractor.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
import java.util.HashMap;
88
import java.util.List;
99
import java.util.Map;
10-
import java.util.regex.Matcher;
1110
import java.util.regex.Pattern;
1211

1312
import javax.annotation.Nonnull;
@@ -210,7 +209,7 @@ public static String getYoutubeText(@Nonnull JsonObject object) throws ParsingEx
210209
}
211210
return result;
212211
} catch (Exception e2) {
213-
throw new ParsingException("Could not get text", e2);
212+
return "";
214213
}
215214
}
216215
}

0 commit comments

Comments
 (0)