Skip to content

Commit fcdb50b

Browse files
B0polTobiGr
authored andcommitted
make getInfo from Extractor public
In StreamInfo and CommentsInfo
1 parent 44c54d4 commit fcdb50b

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

extractor/src/main/java/org/schabi/newpipe/extractor/comments/CommentsInfo.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ public static CommentsInfo getInfo(StreamingService serviceByUrl, String url) th
2525
return getInfo(serviceByUrl.getCommentsExtractor(url));
2626
}
2727

28-
private static CommentsInfo getInfo(CommentsExtractor commentsExtractor) throws IOException, ExtractionException {
28+
public static CommentsInfo getInfo(CommentsExtractor commentsExtractor) throws IOException, ExtractionException {
2929
// for services which do not have a comments extractor
3030
if (null == commentsExtractor) {
3131
return null;

extractor/src/main/java/org/schabi/newpipe/extractor/stream/StreamInfo.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ public static StreamInfo getInfo(StreamingService service, String url) throws IO
6464
return getInfo(service.getStreamExtractor(url));
6565
}
6666

67-
private static StreamInfo getInfo(StreamExtractor extractor) throws ExtractionException, IOException {
67+
public static StreamInfo getInfo(StreamExtractor extractor) throws ExtractionException, IOException {
6868
extractor.fetchPage();
6969
StreamInfo streamInfo;
7070
try {

0 commit comments

Comments
 (0)