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

Method isTorrent

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

Source from the content-addressed store, hash-verified

23 }
24
25 public static boolean isTorrent(String url) {
26 return !url.startsWith("magnet") && url.split(";")[0].endsWith(".torrent");
27 }
28
29 public static boolean isSub(String text) {
30 return SUB.contains(getExt(text).toLowerCase());

Callers 1

isThunderMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected