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

Method getVar

app/src/main/java/com/github/catvod/utils/Util.java:64–67  ·  view source on GitHub ↗
(String data, String param)

Source from the content-addressed store, hash-verified

62 }
63
64 public static String getVar(String data, String param) {
65 for (String var : data.split("var")) if (var.contains(param)) return checkVar(var);
66 return "";
67 }
68
69 private static String checkVar(String var) {
70 if (var.contains("'")) return var.split("'")[1];

Callers 1

detailContentMethod · 0.95

Calls 1

checkVarMethod · 0.95

Tested by

no test coverage detected