From 61169352cbfecf92cb37b3450e9847b274e0764b Mon Sep 17 00:00:00 2001 From: cyian-1756 Date: Sat, 2 Dec 2017 19:20:09 -0500 Subject: [PATCH] Moved hasASAPRipping() from AbstractHTMLRipper to AbstractRipper --- src/main/java/com/rarchives/ripme/ripper/AbstractHTMLRipper.java | 1 - src/main/java/com/rarchives/ripme/ripper/AbstractRipper.java | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/rarchives/ripme/ripper/AbstractHTMLRipper.java b/src/main/java/com/rarchives/ripme/ripper/AbstractHTMLRipper.java index 4646df31..3e74912a 100644 --- a/src/main/java/com/rarchives/ripme/ripper/AbstractHTMLRipper.java +++ b/src/main/java/com/rarchives/ripme/ripper/AbstractHTMLRipper.java @@ -53,7 +53,6 @@ public abstract class AbstractHTMLRipper extends AlbumRipper { protected boolean hasDescriptionSupport() { return false; } - public boolean hasASAPRipping() { return false; } protected String[] getDescription(String url, Document page) throws IOException { throw new IOException("getDescription not implemented"); // Do I do this or make an abstract function? } diff --git a/src/main/java/com/rarchives/ripme/ripper/AbstractRipper.java b/src/main/java/com/rarchives/ripme/ripper/AbstractRipper.java index a852e177..090b4e42 100644 --- a/src/main/java/com/rarchives/ripme/ripper/AbstractRipper.java +++ b/src/main/java/com/rarchives/ripme/ripper/AbstractRipper.java @@ -43,6 +43,7 @@ public abstract class AbstractRipper public abstract void rip() throws IOException; public abstract String getHost(); public abstract String getGID(URL url) throws MalformedURLException; + public boolean hasASAPRipping() { return false; } private boolean shouldStop = false; private boolean thisIsATest = false;