Merge branch 'main' of https://github.com/FongMi/CatVodSpider
This commit is contained in:
commit
6bd420ff7e
|
|
@ -43,6 +43,7 @@ public class Miss extends Spider {
|
|||
String pic = div.select("img").attr("data-src");
|
||||
if (pic.isEmpty()) pic = div.select("img").attr("src");
|
||||
String remark = div.select("span").text();
|
||||
if (TextUtils.isEmpty(name)) continue;
|
||||
list.add(new Vod(id, name, pic, remark));
|
||||
}
|
||||
return Result.string(classes, list, filters);
|
||||
|
|
@ -61,8 +62,8 @@ public class Miss extends Spider {
|
|||
String name = div.select("a.text-secondary").text();
|
||||
String pic = div.select("img").attr("data-src");
|
||||
if (pic.isEmpty()) pic = div.select("img").attr("src");
|
||||
if (TextUtils.isEmpty(name)) continue;
|
||||
String remark = div.select("span").text();
|
||||
if (TextUtils.isEmpty(name)) continue;
|
||||
list.add(new Vod(id, name, pic, remark));
|
||||
}
|
||||
return Result.string(list);
|
||||
|
|
@ -92,6 +93,7 @@ public class Miss extends Spider {
|
|||
String pic = div.select("img").attr("data-src");
|
||||
if (pic.isEmpty()) pic = div.select("img").attr("src");
|
||||
String remark = div.select("span").text();
|
||||
if (TextUtils.isEmpty(name)) continue;
|
||||
list.add(new Vod(id, name, pic, remark));
|
||||
}
|
||||
return Result.string(list);
|
||||
|
|
|
|||
|
|
@ -12,7 +12,7 @@ import java.io.InputStreamReader;
|
|||
public class FileUtil {
|
||||
|
||||
public static File getCacheDir() {
|
||||
return Init.context().getExternalCacheDir();
|
||||
return Init.context().getCacheDir();
|
||||
}
|
||||
|
||||
public static File getCacheFile(String fileName) {
|
||||
|
|
|
|||
Binary file not shown.
|
|
@ -1 +1 @@
|
|||
d81491287f85debfc69e10a2ec775b4d
|
||||
945ad30d5255359385ba59b8fb061bb7
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
"spider": "https://raw.githubusercontent.com/FongMi/CatVodSpider/main/jar/custom_spider.jar;md5;d81491287f85debfc69e10a2ec775b4d",
|
||||
"spider": "https://raw.githubusercontent.com/FongMi/CatVodSpider/main/jar/custom_spider.jar;md5;945ad30d5255359385ba59b8fb061bb7",
|
||||
"wallpaper": "https://gao.chuqiuyu.tk",
|
||||
"sites": [
|
||||
{
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
"spider": "https://raw.githubusercontent.com/FongMi/CatVodSpider/main/jar/custom_spider.jar;md5;d81491287f85debfc69e10a2ec775b4d",
|
||||
"spider": "https://raw.githubusercontent.com/FongMi/CatVodSpider/main/jar/custom_spider.jar;md5;945ad30d5255359385ba59b8fb061bb7",
|
||||
"wallpaper": "http://饭太硬.ga/深色壁纸/api.php",
|
||||
"sites": [
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in New Issue