Skip to content

Commit ff5273b

Browse files
B0polTobiGr
andauthored
Update extractor/src/main/java/org/schabi/newpipe/extractor/services/youtube/extractors/YoutubeCommentsExtractor.java
Co-authored-by: Tobi <TobiGr@users.noreply.github.com>
1 parent ed850d0 commit ff5273b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ public YoutubeCommentsExtractor(StreamingService service, ListLinkHandler uiHand
4848
@Override
4949
public InfoItemsPage<CommentsInfoItem> getInitialPage() throws IOException, ExtractionException {
5050
String commentsTokenInside = findValue(responseBody, "sectionListRenderer", "}");
51-
if (!commentsTokenInside.contains("continuation")) {
51+
if (!commentsTokenInside.contains("continuation\":\"")) {
5252
commentsTokenInside = findValue(responseBody, "commentSectionRenderer", "}");
5353
}
5454
final String commentsToken = findValue(commentsTokenInside, "continuation\":\"", "\"");

0 commit comments

Comments
 (0)