From fade7bd749f6a86b9982f20b62a251e884344995 Mon Sep 17 00:00:00 2001 From: Ritvik Saraf <13ritvik@gmail.com> Date: Sun, 30 Dec 2018 15:23:24 +0530 Subject: [PATCH] getter for torrent url --- .../main/java/org/schabi/newpipe/extractor/stream/Stream.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/extractor/src/main/java/org/schabi/newpipe/extractor/stream/Stream.java b/extractor/src/main/java/org/schabi/newpipe/extractor/stream/Stream.java index 754df790..865cde0c 100644 --- a/extractor/src/main/java/org/schabi/newpipe/extractor/stream/Stream.java +++ b/extractor/src/main/java/org/schabi/newpipe/extractor/stream/Stream.java @@ -55,6 +55,10 @@ public abstract class Stream implements Serializable { public String getUrl() { return url; } + + public String getTorrentUrl() { + return torrentUrl; + } public MediaFormat getFormat() { return mediaFormat;