From 6a7680ce17e0ca9751c23c4d69347a75a13b0ecc Mon Sep 17 00:00:00 2001 From: yausername <13ritvik@gmail.com> Date: Sun, 24 Nov 2019 03:38:27 +0530 Subject: [PATCH] added instance getter --- .../extractor/services/peertube/PeertubeService.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/extractor/src/main/java/org/schabi/newpipe/extractor/services/peertube/PeertubeService.java b/extractor/src/main/java/org/schabi/newpipe/extractor/services/peertube/PeertubeService.java index 29bd1db71..a3faac4ef 100644 --- a/extractor/src/main/java/org/schabi/newpipe/extractor/services/peertube/PeertubeService.java +++ b/extractor/src/main/java/org/schabi/newpipe/extractor/services/peertube/PeertubeService.java @@ -4,11 +4,7 @@ import static java.util.Arrays.asList; import static org.schabi.newpipe.extractor.StreamingService.ServiceInfo.MediaCapability.COMMENTS; import static org.schabi.newpipe.extractor.StreamingService.ServiceInfo.MediaCapability.VIDEO; -import java.io.IOException; -import java.util.List; - import org.schabi.newpipe.extractor.StreamingService; -import org.schabi.newpipe.extractor.StreamingService.ServiceInfo.MediaCapability; import org.schabi.newpipe.extractor.channel.ChannelExtractor; import org.schabi.newpipe.extractor.comments.CommentsExtractor; import org.schabi.newpipe.extractor.exceptions.ExtractionException; @@ -122,6 +118,10 @@ public class PeertubeService extends StreamingService { return instance.getUrl(); } + public PeertubeInstance getInstance() { + return this.instance; + } + public void setInstance(PeertubeInstance instance) { this.instance = instance; }