Moved hasASAPRipping() from AbstractHTMLRipper to AbstractRipper
This commit is contained in:
parent
761f1e2987
commit
61169352cb
@ -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?
|
||||||
}
|
}
|
||||||
|
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user