Moved hasASAPRipping() from AbstractHTMLRipper to AbstractRipper

This commit is contained in:
cyian-1756 2017-12-02 19:20:09 -05:00
parent 761f1e2987
commit 61169352cb
2 changed files with 1 additions and 1 deletions

View File

@ -53,7 +53,6 @@ public abstract class AbstractHTMLRipper extends AlbumRipper {
protected boolean hasDescriptionSupport() { protected boolean hasDescriptionSupport() {
return false; return false;
} }
public boolean hasASAPRipping() { return false; }
protected String[] getDescription(String url, Document page) throws IOException { protected String[] getDescription(String url, Document page) throws IOException {
throw new IOException("getDescription not implemented"); // Do I do this or make an abstract function? throw new IOException("getDescription not implemented"); // Do I do this or make an abstract function?
} }

View File

@ -43,6 +43,7 @@ public abstract class AbstractRipper
public abstract void rip() throws IOException; public abstract void rip() throws IOException;
public abstract String getHost(); public abstract String getHost();
public abstract String getGID(URL url) throws MalformedURLException; public abstract String getGID(URL url) throws MalformedURLException;
public boolean hasASAPRipping() { return false; }
private boolean shouldStop = false; private boolean shouldStop = false;
private boolean thisIsATest = false; private boolean thisIsATest = false;