Merge branch 'main' of https://github.com/FongMi/CatVodSpider
This commit is contained in:
commit
6142cb802c
|
|
@ -75,7 +75,7 @@ public class Ying extends Spider {
|
||||||
for (Element element : doc2.select("div.lpic > ul > li")) {
|
for (Element element : doc2.select("div.lpic > ul > li")) {
|
||||||
String id = element.select("a").attr("href").split("/")[2];
|
String id = element.select("a").attr("href").split("/")[2];
|
||||||
String name = element.select("h2").text();
|
String name = element.select("h2").text();
|
||||||
String pic = "https:".concat(element.select("a > img").attr("src"));
|
String pic = element.select("a > img").attr("src");
|
||||||
String remarks = element.select("span > font").text();
|
String remarks = element.select("span > font").text();
|
||||||
remarks = remarks.contains(":") ? remarks.split(" ")[1] : remarks;
|
remarks = remarks.contains(":") ? remarks.split(" ")[1] : remarks;
|
||||||
list.add(new Vod(id, name, pic, remarks));
|
list.add(new Vod(id, name, pic, remarks));
|
||||||
|
|
@ -101,7 +101,7 @@ public class Ying extends Spider {
|
||||||
for (Element element : doc.select("div.lpic > ul > li")) {
|
for (Element element : doc.select("div.lpic > ul > li")) {
|
||||||
String id = element.select("a").attr("href").split("/")[2];
|
String id = element.select("a").attr("href").split("/")[2];
|
||||||
String name = element.select("h2").text();
|
String name = element.select("h2").text();
|
||||||
String pic = "https:".concat(element.select("a > img").attr("src"));
|
String pic = element.select("a > img").attr("src");
|
||||||
String remarks = element.select("span > font").text();
|
String remarks = element.select("span > font").text();
|
||||||
remarks = remarks.contains(":") ? remarks.split(" ")[1] : remarks;
|
remarks = remarks.contains(":") ? remarks.split(" ")[1] : remarks;
|
||||||
list.add(new Vod(id, name, pic, remarks));
|
list.add(new Vod(id, name, pic, remarks));
|
||||||
|
|
@ -113,7 +113,7 @@ public class Ying extends Spider {
|
||||||
public String detailContent(List<String> ids) {
|
public String detailContent(List<String> ids) {
|
||||||
Document doc = Jsoup.parse(OkHttp.string(showUrl.concat(ids.get(0)), getHeaders()));
|
Document doc = Jsoup.parse(OkHttp.string(showUrl.concat(ids.get(0)), getHeaders()));
|
||||||
String name = doc.select("div.rate > h1").text();
|
String name = doc.select("div.rate > h1").text();
|
||||||
String pic = "https:".concat(doc.select("div.thumb > img").attr("src"));
|
String pic = doc.select("div.thumb > img").attr("src");
|
||||||
String content = doc.select("div.info").text();
|
String content = doc.select("div.info").text();
|
||||||
Elements element = doc.select("div.sinfo > span > a");
|
Elements element = doc.select("div.sinfo > span > a");
|
||||||
|
|
||||||
|
|
@ -157,7 +157,7 @@ public class Ying extends Spider {
|
||||||
for (Element element : doc.select("div.lpic > ul > li")) {
|
for (Element element : doc.select("div.lpic > ul > li")) {
|
||||||
String id = element.select("a").attr("href").split("/")[2];
|
String id = element.select("a").attr("href").split("/")[2];
|
||||||
String name = element.select("h2").text();
|
String name = element.select("h2").text();
|
||||||
String pic = "https:".concat(element.select("a > img").attr("src"));
|
String pic = element.select("a > img").attr("src");
|
||||||
String remarks = element.select("span > font").text();
|
String remarks = element.select("span > font").text();
|
||||||
remarks = remarks.contains(":") ? remarks.split(" ")[1] : remarks;
|
remarks = remarks.contains(":") ? remarks.split(" ")[1] : remarks;
|
||||||
list.add(new Vod(id, name, pic, remarks));
|
list.add(new Vod(id, name, pic, remarks));
|
||||||
|
|
|
||||||
Binary file not shown.
|
|
@ -1 +1 @@
|
||||||
5b77e550fc0e997d1c7ec4dc9eca695a
|
78c395c04b5a9e444afbeec1b1681196
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
{
|
{
|
||||||
"spider": "https://ghproxy.com/https://raw.githubusercontent.com/FongMi/CatVodSpider/main/jar/custom_spider.jar;md5;5b77e550fc0e997d1c7ec4dc9eca695a",
|
"spider": "https://ghproxy.com/https://raw.githubusercontent.com/FongMi/CatVodSpider/main/jar/custom_spider.jar;md5;78c395c04b5a9e444afbeec1b1681196",
|
||||||
"wallpaper": "https://gao.chuqiuyu.tk",
|
"wallpaper": "https://gao.chuqiuyu.tk",
|
||||||
"sites": [
|
"sites": [
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -7,7 +7,7 @@
|
||||||
"api": "csp_Paper",
|
"api": "csp_Paper",
|
||||||
"searchable": 1,
|
"searchable": 1,
|
||||||
"filterable": 1,
|
"filterable": 1,
|
||||||
"switchable": 0,
|
"changeable": 0,
|
||||||
"ext": "影視天下第一",
|
"ext": "影視天下第一",
|
||||||
"jar": "https://ghproxy.com/https://raw.githubusercontent.com/FongMi/CatVodSpider/main/jar/custom_spider.jar"
|
"jar": "https://ghproxy.com/https://raw.githubusercontent.com/FongMi/CatVodSpider/main/jar/custom_spider.jar"
|
||||||
},
|
},
|
||||||
|
|
@ -18,7 +18,7 @@
|
||||||
"api": "csp_YiSo",
|
"api": "csp_YiSo",
|
||||||
"searchable": 1,
|
"searchable": 1,
|
||||||
"filterable": 0,
|
"filterable": 0,
|
||||||
"switchable": 0,
|
"changeable": 0,
|
||||||
"ext": "影視天下第一",
|
"ext": "影視天下第一",
|
||||||
"jar": "https://ghproxy.com/https://raw.githubusercontent.com/FongMi/CatVodSpider/main/jar/custom_spider.jar"
|
"jar": "https://ghproxy.com/https://raw.githubusercontent.com/FongMi/CatVodSpider/main/jar/custom_spider.jar"
|
||||||
},
|
},
|
||||||
|
|
@ -29,7 +29,7 @@
|
||||||
"api": "csp_PanSou",
|
"api": "csp_PanSou",
|
||||||
"searchable": 1,
|
"searchable": 1,
|
||||||
"filterable": 0,
|
"filterable": 0,
|
||||||
"switchable": 0,
|
"changeable": 0,
|
||||||
"ext": "影視天下第一",
|
"ext": "影視天下第一",
|
||||||
"jar": "https://ghproxy.com/https://raw.githubusercontent.com/FongMi/CatVodSpider/main/jar/custom_spider.jar"
|
"jar": "https://ghproxy.com/https://raw.githubusercontent.com/FongMi/CatVodSpider/main/jar/custom_spider.jar"
|
||||||
},
|
},
|
||||||
|
|
@ -40,10 +40,21 @@
|
||||||
"api": "csp_UpYun",
|
"api": "csp_UpYun",
|
||||||
"searchable": 1,
|
"searchable": 1,
|
||||||
"filterable": 0,
|
"filterable": 0,
|
||||||
"switchable": 0,
|
"changeable": 0,
|
||||||
"ext": "影視天下第一",
|
"ext": "影視天下第一",
|
||||||
"jar": "https://ghproxy.com/https://raw.githubusercontent.com/FongMi/CatVodSpider/main/jar/custom_spider.jar"
|
"jar": "https://ghproxy.com/https://raw.githubusercontent.com/FongMi/CatVodSpider/main/jar/custom_spider.jar"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"key": "找資源",
|
||||||
|
"name": "找資源",
|
||||||
|
"type": 3,
|
||||||
|
"api": "csp_Zhaozy",
|
||||||
|
"searchable": 1,
|
||||||
|
"filterable": 0,
|
||||||
|
"changeable": 0,
|
||||||
|
"ext": "影視天下第一$$$yingshi$$$abcd1234",
|
||||||
|
"jar": "https://ghproxy.com/https://raw.githubusercontent.com/FongMi/CatVodSpider/main/jar/custom_spider.jar"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"key": "push_agent",
|
"key": "push_agent",
|
||||||
"name": "推送",
|
"name": "推送",
|
||||||
|
|
@ -51,7 +62,7 @@
|
||||||
"api": "csp_Push",
|
"api": "csp_Push",
|
||||||
"searchable": 1,
|
"searchable": 1,
|
||||||
"filterable": 0,
|
"filterable": 0,
|
||||||
"switchable": 0,
|
"changeable": 0,
|
||||||
"ext": "影視天下第一",
|
"ext": "影視天下第一",
|
||||||
"jar": "https://ghproxy.com/https://raw.githubusercontent.com/FongMi/CatVodSpider/main/jar/custom_spider.jar"
|
"jar": "https://ghproxy.com/https://raw.githubusercontent.com/FongMi/CatVodSpider/main/jar/custom_spider.jar"
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
{
|
{
|
||||||
"spider": "https://ghproxy.com/https://raw.githubusercontent.com/FongMi/CatVodSpider/main/jar/custom_spider.jar;md5;5b77e550fc0e997d1c7ec4dc9eca695a",
|
"spider": "https://ghproxy.com/https://raw.githubusercontent.com/FongMi/CatVodSpider/main/jar/custom_spider.jar;md5;78c395c04b5a9e444afbeec1b1681196",
|
||||||
"wallpaper": "http://饭太硬.ga/深色壁纸/api.php",
|
"wallpaper": "http://饭太硬.ga/深色壁纸/api.php",
|
||||||
"sites": [
|
"sites": [
|
||||||
{
|
{
|
||||||
|
|
@ -108,6 +108,16 @@
|
||||||
"changeable": 0,
|
"changeable": 0,
|
||||||
"ext": "影視天下第一"
|
"ext": "影視天下第一"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"key": "找資源",
|
||||||
|
"name": "找資源",
|
||||||
|
"type": 3,
|
||||||
|
"api": "csp_Zhaozy",
|
||||||
|
"searchable": 1,
|
||||||
|
"filterable": 0,
|
||||||
|
"changeable": 0,
|
||||||
|
"ext": "影視天下第一$$$yingshi$$$abcd1234"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"key": "push_agent",
|
"key": "push_agent",
|
||||||
"name": "推送",
|
"name": "推送",
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue