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