|
|
|
|
@ -7,34 +7,34 @@ import java.util.List; |
|
|
|
|
|
|
|
|
|
public abstract class Spider { |
|
|
|
|
|
|
|
|
|
public void init(Context context) { |
|
|
|
|
public void init(Context context) throws Exception { |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
public void init(Context context, String extend) { |
|
|
|
|
public void init(Context context, String extend) throws Exception { |
|
|
|
|
init(context); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
public String homeContent(boolean filter) { |
|
|
|
|
public String homeContent(boolean filter) throws Exception { |
|
|
|
|
return ""; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
public String homeVideoContent() { |
|
|
|
|
public String homeVideoContent() throws Exception { |
|
|
|
|
return ""; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
public String categoryContent(String tid, String pg, boolean filter, HashMap<String, String> extend) { |
|
|
|
|
public String categoryContent(String tid, String pg, boolean filter, HashMap<String, String> extend) throws Exception { |
|
|
|
|
return ""; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
public String detailContent(List<String> ids) { |
|
|
|
|
public String detailContent(List<String> ids) throws Exception { |
|
|
|
|
return ""; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
public String searchContent(String key, boolean quick) { |
|
|
|
|
public String searchContent(String key, boolean quick) throws Exception { |
|
|
|
|
return ""; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
public String playerContent(String flag, String id, List<String> vipFlags) { |
|
|
|
|
public String playerContent(String flag, String id, List<String> vipFlags) throws Exception { |
|
|
|
|
return ""; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|