MCPcopy Create free account
hub / github.com/FongMi/CatVodSpider / Spider

Class Spider

app/src/main/java/com/github/catvod/crawler/Spider.java:12–81  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

10import okhttp3.OkHttpClient;
11
12public abstract class Spider {
13
14 public String siteKey;
15
16 public void init(Context context) throws Exception {
17 }
18
19 public void init(Context context, String extend) throws Exception {
20 init(context);
21 }
22
23 public String homeContent(boolean filter) throws Exception {
24 return "";
25 }
26
27 public String homeVideoContent() throws Exception {
28 return "";
29 }
30
31 public String categoryContent(String tid, String pg, boolean filter, HashMap<String, String> extend) throws Exception {
32 return "";
33 }
34
35 public String detailContent(List<String> ids) throws Exception {
36 return "";
37 }
38
39 public String searchContent(String key, boolean quick) throws Exception {
40 return "";
41 }
42
43 public String searchContent(String key, boolean quick, String pg) throws Exception {
44 return "";
45 }
46
47 public String playerContent(String flag, String id, List<String> vipFlags) throws Exception {
48 return "";
49 }
50
51 public String liveContent(String url) throws Exception {
52 return "";
53 }
54
55 public boolean manualVideoCheck() throws Exception {
56 return false;
57 }
58
59 public boolean isVideoFormat(String url) throws Exception {
60 return false;
61 }
62
63 public Object[] proxy(Map<String, String> params) throws Exception {
64 return null;
65 }
66
67 public String action(String action) throws Exception {
68 return null;
69 }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected