Fix doll class
This commit is contained in:
parent
7f810d1c5a
commit
0020381ecd
|
|
@ -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.
|
|
@ -1 +1 @@
|
||||||
ba4abbb214c642e38dd0e284fd0e54fe
|
60d9f2609ee273810e12879202418f61
|
||||||
|
|
|
||||||
|
|
@ -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",
|
||||||
|
|
|
||||||
|
|
@ -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",
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue