Update extractor/src/main/java/org/schabi/newpipe/extractor/services/youtube/extractors/YoutubeCommentsExtractor.java
Co-authored-by: Tobi <TobiGr@users.noreply.github.com>
This commit is contained in:
parent
ed850d0688
commit
ff5273b882
|
@ -48,7 +48,7 @@ public class YoutubeCommentsExtractor extends CommentsExtractor {
|
|||
@Override
|
||||
public InfoItemsPage<CommentsInfoItem> getInitialPage() throws IOException, ExtractionException {
|
||||
String commentsTokenInside = findValue(responseBody, "sectionListRenderer", "}");
|
||||
if (!commentsTokenInside.contains("continuation")) {
|
||||
if (!commentsTokenInside.contains("continuation\":\"")) {
|
||||
commentsTokenInside = findValue(responseBody, "commentSectionRenderer", "}");
|
||||
}
|
||||
final String commentsToken = findValue(commentsTokenInside, "continuation\":\"", "\"");
|
||||
|
|
Loading…
Reference in New Issue