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

Method getSub

app/src/main/java/com/github/catvod/spider/WebDAV.java:176–187  ·  view source on GitHub ↗
(String[] ids)

Source from the content-addressed store, hash-verified

174 }
175
176 private List<Sub> getSub(String[] ids) {
177 List<Sub> sub = new ArrayList<>();
178 for (String text : ids) {
179 if (!text.contains("@@@")) continue;
180 String[] split = text.split("@@@");
181 String name = split[0];
182 String ext = split[1];
183 String url = Proxy.getUrl(siteKey, "&url=" + split[2]);
184 sub.add(Sub.create().name(name).ext(ext).url(url));
185 }
186 return sub;
187 }
188
189 private Map<String, String> getHeaders(Map<String, String> params) {
190 Map<String, String> headers = new TreeMap<>(String.CASE_INSENSITIVE_ORDER);

Callers 1

playerContentMethod · 0.95

Calls 5

getUrlMethod · 0.95
createMethod · 0.95
extMethod · 0.80
urlMethod · 0.45
nameMethod · 0.45

Tested by

no test coverage detected