Skip to content

Commit

Permalink
make getInfo from Extractor public
Browse files Browse the repository at this point in the history
In StreamInfo and CommentsInfo
  • Loading branch information
B0pol authored and TobiGr committed Feb 9, 2021
1 parent 44c54d4 commit fcdb50b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ public static CommentsInfo getInfo(StreamingService serviceByUrl, String url) th
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;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ public static StreamInfo getInfo(StreamingService service, String url) throws IO
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 {
Expand Down

0 comments on commit fcdb50b

Please sign in to comment.