Update Spider.java
This commit is contained in:
parent
10805d136a
commit
2b116401c2
|
|
@ -13,13 +13,6 @@ import okhttp3.OkHttpClient;
|
||||||
|
|
||||||
public abstract class Spider {
|
public abstract class Spider {
|
||||||
|
|
||||||
private boolean proxy;
|
|
||||||
|
|
||||||
public Spider proxy(boolean proxy) {
|
|
||||||
this.proxy = proxy;
|
|
||||||
return this;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void init(Context context) throws Exception {
|
public void init(Context context) throws Exception {
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -63,10 +56,6 @@ public abstract class Spider {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
public boolean proxy() {
|
|
||||||
return proxy;
|
|
||||||
}
|
|
||||||
|
|
||||||
public Object[] proxyLocal(Map<String, String> params) throws Exception {
|
public Object[] proxyLocal(Map<String, String> params) throws Exception {
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue