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

Method isThunder

app/src/main/java/com/github/catvod/utils/Util.java:21–23  ·  view source on GitHub ↗
(String url)

Source from the content-addressed store, hash-verified

19 public static final List<String> SUB = Arrays.asList("srt", "ass", "ssa", "vtt");
20
21 public static boolean isThunder(String url) {
22 return THUNDER.matcher(url).find() || isTorrent(url);
23 }
24
25 public static boolean isTorrent(String url) {
26 return !url.startsWith("magnet") && url.split(";")[0].endsWith(".torrent");

Callers 1

vodMethod · 0.95

Calls 3

isTorrentMethod · 0.95
findMethod · 0.80
matcherMethod · 0.80

Tested by

no test coverage detected