(String url)
| 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"); |