diff --git a/src/main/java/com/rarchives/ripme/ripper/rippers/GfycatRipper.java b/src/main/java/com/rarchives/ripme/ripper/rippers/GfycatRipper.java index 97afef94..a09d68ab 100644 --- a/src/main/java/com/rarchives/ripme/ripper/rippers/GfycatRipper.java +++ b/src/main/java/com/rarchives/ripme/ripper/rippers/GfycatRipper.java @@ -19,6 +19,9 @@ import com.rarchives.ripme.utils.Http; public class GfycatRipper extends AbstractHTMLRipper { + private int bytesTotal = 1; + private int bytesCompleted = 1; + private static final String HOST = "gfycat.com"; public GfycatRipper(URL url) throws IOException { @@ -107,9 +110,6 @@ public class GfycatRipper extends AbstractHTMLRipper { return vidUrl; } - private int bytesTotal = 1; - private int bytesCompleted = 1; - @Override public String getStatusText() { return Utils.getByteStatusText(getCompletionPercentage(), bytesCompleted, bytesTotal); diff --git a/src/main/java/com/rarchives/ripme/ripper/rippers/GfycatporntubeRipper.java b/src/main/java/com/rarchives/ripme/ripper/rippers/GfycatporntubeRipper.java index 9010eb0e..55150d9e 100644 --- a/src/main/java/com/rarchives/ripme/ripper/rippers/GfycatporntubeRipper.java +++ b/src/main/java/com/rarchives/ripme/ripper/rippers/GfycatporntubeRipper.java @@ -17,6 +17,9 @@ import com.rarchives.ripme.utils.Http; public class GfycatporntubeRipper extends AbstractHTMLRipper { + private int bytesTotal = 1; + private int bytesCompleted = 1; + public GfycatporntubeRipper(URL url) throws IOException { super(url); } @@ -60,9 +63,6 @@ public class GfycatporntubeRipper extends AbstractHTMLRipper { addURLToDownload(url, getPrefix(index)); } - private int bytesTotal = 1; - private int bytesCompleted = 1; - @Override public String getStatusText() { return Utils.getByteStatusText(getCompletionPercentage(), bytesCompleted, bytesTotal);