This commit is contained in:
GH Action - Upstream Sync 2023-11-27 12:32:17 +00:00
commit 48f8a9a11b
5 changed files with 7 additions and 7 deletions

View File

@ -21,7 +21,7 @@ import java.util.regex.Pattern;
*/
public class Ali extends Spider {
public static final Pattern pattern = Pattern.compile("www.aliyundrive.com/s/([^/]+)(/folder/([^/]+))?");
public static final Pattern pattern = Pattern.compile("(www.aliyundrive.com|www.alipan.com)/s/([^/]+)(/folder/([^/]+))?");
@Override
public void init(Context context, String extend) {
@ -41,8 +41,8 @@ public class Ali extends Spider {
}
private Vod parseVod(Matcher matcher, String id) {
String shareId = matcher.group(1);
String fileId = matcher.groupCount() == 3 ? matcher.group(3) : "";
String shareId = matcher.group(2);
String fileId = matcher.groupCount() == 4 ? matcher.group(4) : "";
return AliYun.get().getVod(id, shareId, fileId);
}

Binary file not shown.

View File

@ -1 +1 @@
1117603a248d03a2fba94c991612970f
f4fa24d313b7290001db8ef49bd8ae0b

View File

@ -1,5 +1,5 @@
{
"spider": "https://fm.t4tv.hz.cz/jar/custom_spider.jar;md5;1117603a248d03a2fba94c991612970f",
"spider": "https://fm.t4tv.hz.cz/jar/custom_spider.jar;md5;f4fa24d313b7290001db8ef49bd8ae0b",
"wallpaper": "https://gao.chuqiuyu.tk",
"sites": [
{

View File

@ -1,5 +1,5 @@
{
"spider": "https://fm.t4tv.hz.cz/jar/custom_spider.jar;md5;1117603a248d03a2fba94c991612970f",
"spider": "https://fm.t4tv.hz.cz/jar/custom_spider.jar;md5;f4fa24d313b7290001db8ef49bd8ae0b",
"wallpaper": "http://饭太硬.top/深色壁纸/api.php",
"sites": [
{