package com.github.catvod.crawler; import android.content.Context; import java.util.HashMap; import java.util.List; public abstract class Spider { public void init(Context context) { } public void init(Context context, String extend) { init(context); } public String homeContent(boolean filter) throws Exception { return ""; } public String homeVideoContent() throws Exception { return ""; } public String categoryContent(String tid, String pg, boolean filter, HashMap extend) throws Exception { return ""; } public String detailContent(List ids) throws Exception { return ""; } public String searchContent(String key, boolean quick) throws Exception { return ""; } public String playerContent(String flag, String id, List vipFlags) throws Exception { return ""; } public boolean manualVideoCheck() { return false; } public boolean isVideoFormat(String url) { return false; } }