formatting fix

This commit is contained in:
golfinq 2021-03-05 02:46:06 -05:00 committed by GitHub
parent ae48bdea4c
commit 8bceb57a6c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -49,7 +49,7 @@ public class YoutubeCommentsExtractor extends CommentsExtractor {
String commentsTokenInside; String commentsTokenInside;
if (responseBody.contains("commentSectionRenderer")) { if (responseBody.contains("commentSectionRenderer")) {
commentsTokenInside = findValue(responseBody, "commentSectionRenderer", "}"); commentsTokenInside = findValue(responseBody, "commentSectionRenderer", "}");
} else{ } else {
commentsTokenInside = findValue(responseBody, "sectionListRenderer", "}"); commentsTokenInside = findValue(responseBody, "sectionListRenderer", "}");
} }
final String commentsToken = findValue(commentsTokenInside, "continuation\":\"", "\""); final String commentsToken = findValue(commentsTokenInside, "continuation\":\"", "\"");