|
|
|
|
@ -23,7 +23,7 @@ public class Util { |
|
|
|
|
public static final Pattern RULE = Pattern.compile("http((?!http).){12,}?\\.(m3u8|mp4|mkv|flv|mp3|m4a|aac)\\?.*|http((?!http).){12,}\\.(m3u8|mp4|mkv|flv|mp3|m4a|aac)|http((?!http).)*?video/tos*"); |
|
|
|
|
public static final Pattern THUNDER = Pattern.compile("(magnet|thunder|ed2k):.*"); |
|
|
|
|
public static final String CHROME = "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/134.0.0.0 Safari/537.36"; |
|
|
|
|
public static final List<String> MEDIA = Arrays.asList("mp4", "mkv", "mov", "wav", "wmv", "flv", "avi", "iso", "mpg", "ts", "mp3", "aac", "flac", "m4a", "ape", "ogg"); |
|
|
|
|
public static final List<String> MEDIA = Arrays.asList("mp4", "mkv", "mov", "wav", "wma", "wmv", "flv", "avi", "iso", "mpg", "ts", "mp3", "aac", "flac", "m4a", "ape", "ogg"); |
|
|
|
|
public static final List<String> SUB = Arrays.asList("srt", "ass", "ssa", "vtt"); |
|
|
|
|
|
|
|
|
|
public static boolean isVip(String url) { |
|
|
|
|
|