Skip to content

Commit 6a7680c

Browse files
committed
added instance getter
1 parent 281ccea commit 6a7680c

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

extractor/src/main/java/org/schabi/newpipe/extractor/services/peertube/PeertubeService.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,7 @@
44
import static org.schabi.newpipe.extractor.StreamingService.ServiceInfo.MediaCapability.COMMENTS;
55
import static org.schabi.newpipe.extractor.StreamingService.ServiceInfo.MediaCapability.VIDEO;
66

7-
import java.io.IOException;
8-
import java.util.List;
9-
107
import org.schabi.newpipe.extractor.StreamingService;
11-
import org.schabi.newpipe.extractor.StreamingService.ServiceInfo.MediaCapability;
128
import org.schabi.newpipe.extractor.channel.ChannelExtractor;
139
import org.schabi.newpipe.extractor.comments.CommentsExtractor;
1410
import org.schabi.newpipe.extractor.exceptions.ExtractionException;
@@ -122,6 +118,10 @@ public String getBaseUrl() {
122118
return instance.getUrl();
123119
}
124120

121+
public PeertubeInstance getInstance() {
122+
return this.instance;
123+
}
124+
125125
public void setInstance(PeertubeInstance instance) {
126126
this.instance = instance;
127127
}

0 commit comments

Comments
 (0)