Fix ali sort

This commit is contained in:
FongMi 2023-09-05 14:08:13 +08:00
parent ccbbfdb50e
commit d9e9f2185a
5 changed files with 5 additions and 3 deletions

View File

@ -196,6 +196,8 @@ public class Utils {
try { try {
Matcher matcher = Pattern.compile(".*(1080|720|2160|4k|4K).*").matcher(text); Matcher matcher = Pattern.compile(".*(1080|720|2160|4k|4K).*").matcher(text);
if (matcher.find()) text = matcher.group(1) + " " + text; if (matcher.find()) text = matcher.group(1) + " " + text;
matcher = Pattern.compile("^([0-9]+)").matcher(text);
if (matcher.find()) text = matcher.group(1) + " " + text;
return text.replaceAll("\\D+", ""); return text.replaceAll("\\D+", "");
} catch (Exception e) { } catch (Exception e) {
return ""; return "";

Binary file not shown.

View File

@ -1 +1 @@
efad1ff3aa970692ffdb8dfd8b426193 b7edbdfee65700db639603bf47f3937f

View File

@ -1,5 +1,5 @@
{ {
"spider": "https://fongmi.cachefly.net/FongMi/CatVodSpider/main/jar/custom_spider.jar;md5;efad1ff3aa970692ffdb8dfd8b426193", "spider": "https://fongmi.cachefly.net/FongMi/CatVodSpider/main/jar/custom_spider.jar;md5;b7edbdfee65700db639603bf47f3937f",
"wallpaper": "https://gao.chuqiuyu.tk", "wallpaper": "https://gao.chuqiuyu.tk",
"sites": [ "sites": [
{ {

View File

@ -1,5 +1,5 @@
{ {
"spider": "https://fongmi.cachefly.net/FongMi/CatVodSpider/main/jar/custom_spider.jar;md5;efad1ff3aa970692ffdb8dfd8b426193", "spider": "https://fongmi.cachefly.net/FongMi/CatVodSpider/main/jar/custom_spider.jar;md5;b7edbdfee65700db639603bf47f3937f",
"wallpaper": "http://饭太硬.top/深色壁纸/api.php", "wallpaper": "http://饭太硬.top/深色壁纸/api.php",
"sites": [ "sites": [
{ {