diff --git a/extractor/src/main/java/org/schabi/newpipe/extractor/comments/CommentsInfo.java b/extractor/src/main/java/org/schabi/newpipe/extractor/comments/CommentsInfo.java index e5f25527e..49bbaf090 100644 --- a/extractor/src/main/java/org/schabi/newpipe/extractor/comments/CommentsInfo.java +++ b/extractor/src/main/java/org/schabi/newpipe/extractor/comments/CommentsInfo.java @@ -25,7 +25,7 @@ public class CommentsInfo extends ListInfo { return getInfo(serviceByUrl.getCommentsExtractor(url)); } - private static CommentsInfo getInfo(CommentsExtractor commentsExtractor) throws IOException, ExtractionException { + public static CommentsInfo getInfo(CommentsExtractor commentsExtractor) throws IOException, ExtractionException { // for services which do not have a comments extractor if (null == commentsExtractor) { return null; diff --git a/extractor/src/main/java/org/schabi/newpipe/extractor/stream/StreamInfo.java b/extractor/src/main/java/org/schabi/newpipe/extractor/stream/StreamInfo.java index 8fa325544..6477c9e4f 100644 --- a/extractor/src/main/java/org/schabi/newpipe/extractor/stream/StreamInfo.java +++ b/extractor/src/main/java/org/schabi/newpipe/extractor/stream/StreamInfo.java @@ -64,7 +64,7 @@ public class StreamInfo extends Info { return getInfo(service.getStreamExtractor(url)); } - private static StreamInfo getInfo(StreamExtractor extractor) throws ExtractionException, IOException { + public static StreamInfo getInfo(StreamExtractor extractor) throws ExtractionException, IOException { extractor.fetchPage(); StreamInfo streamInfo; try {