Fix doll class

This commit is contained in:
FongMi 2022-10-10 22:18:21 +08:00
parent 7f810d1c5a
commit 0020381ecd
5 changed files with 4 additions and 4 deletions

View File

@ -28,7 +28,7 @@ public class Doll extends Spider {
List<Class> classes = new ArrayList<>(); List<Class> classes = new ArrayList<>();
List<Vod> list = new ArrayList<>(); List<Vod> list = new ArrayList<>();
Document doc = Jsoup.parse(OkHttpUtil.string(url)); Document doc = Jsoup.parse(OkHttpUtil.string(url));
for (Element a : doc.select("ul#side-menu > li > a")) { for (Element a : doc.select("ul#side-menu").get(0).select("li > a")) {
String typeName = a.text(); String typeName = a.text();
String typeId = a.attr("href").replace(url, ""); String typeId = a.attr("href").replace(url, "");
classes.add(new Class(typeId, typeName)); classes.add(new Class(typeId, typeName));

Binary file not shown.

View File

@ -1 +1 @@
ba4abbb214c642e38dd0e284fd0e54fe 60d9f2609ee273810e12879202418f61

View File

@ -1,5 +1,5 @@
{ {
"spider": "https://ghproxy.com/https://raw.githubusercontent.com/FongMi/CatVodSpider/main/jar/custom_spider.jar;md5;ba4abbb214c642e38dd0e284fd0e54fe", "spider": "https://ghproxy.com/https://raw.githubusercontent.com/FongMi/CatVodSpider/main/jar/custom_spider.jar;md5;60d9f2609ee273810e12879202418f61",
"sites": [ "sites": [
{ {
"key": "AList", "key": "AList",

View File

@ -1,5 +1,5 @@
{ {
"spider": "https://ghproxy.com/https://raw.githubusercontent.com/FongMi/CatVodSpider/main/jar/custom_spider.jar;md5;ba4abbb214c642e38dd0e284fd0e54fe", "spider": "https://ghproxy.com/https://raw.githubusercontent.com/FongMi/CatVodSpider/main/jar/custom_spider.jar;md5;60d9f2609ee273810e12879202418f61",
"sites": [ "sites": [
{ {
"key": "AList", "key": "AList",