formatting fix
This commit is contained in:
parent
ae48bdea4c
commit
8bceb57a6c
1 changed files with 1 additions and 1 deletions
|
@ -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\":\"", "\"");
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue