Fix ali sort
This commit is contained in:
parent
ccbbfdb50e
commit
d9e9f2185a
|
|
@ -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.
|
|
@ -1 +1 @@
|
||||||
efad1ff3aa970692ffdb8dfd8b426193
|
b7edbdfee65700db639603bf47f3937f
|
||||||
|
|
|
||||||
|
|
@ -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": [
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -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": [
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue