Merge branch 'main' of https://github.com/FongMi/CatVodSpider
This commit is contained in:
commit
48f8a9a11b
|
|
@ -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.
|
|
@ -1 +1 @@
|
|||
1117603a248d03a2fba94c991612970f
|
||||
f4fa24d313b7290001db8ef49bd8ae0b
|
||||
|
|
|
|||
|
|
@ -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": [
|
||||
{
|
||||
|
|
|
|||
|
|
@ -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": [
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in New Issue