Merge branch 'main' of https://github.com/FongMi/CatVodSpider
This commit is contained in:
commit
eed30e8f31
|
|
@ -475,6 +475,7 @@ public class AliYun {
|
|||
}
|
||||
|
||||
public Object[] proxyVideo(Map<String, String> params) throws Exception {
|
||||
if (dialog != null && dialog.isShowing()) return null;
|
||||
String templateId = params.get("templateId");
|
||||
String response = params.get("response");
|
||||
String shareId = params.get("shareId");
|
||||
|
|
|
|||
|
|
@ -55,11 +55,11 @@ public class Cs1369 extends Spider {
|
|||
JSONObject filterConfig = new JSONObject(f);
|
||||
Document doc = Jsoup.parse(OkHttp.string(siteUrl, getHeader()));
|
||||
List<Vod> list = new ArrayList<>();
|
||||
for (Element li : doc.select(".stui-vodlist.clearfix").eq(0).select(".stui-vodlist__box a")) {
|
||||
String vid = siteUrl + li.attr("href");
|
||||
String name = li.attr("title");
|
||||
String pic = li.attr("data-original") + "@Referer=https://api.douban.com/@User-Agent=Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/110.0.0.0 Safari/537.36";
|
||||
String remark = li.select(".pic-text.text-right").text();
|
||||
for (Element li : doc.select(".stui-vodlist.clearfix").eq(0).select(".stui-vodlist__box")) {
|
||||
String vid = siteUrl + li.select("a").attr("href");
|
||||
String name = li.select("a").attr("title");
|
||||
String pic = li.select("a").attr("data-original") + "@Referer=https://api.douban.com/@User-Agent=Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/110.0.0.0 Safari/537.36";
|
||||
String remark = li.select("a").select(".pic-text.text-right").text();
|
||||
list.add(new Vod(vid, name, pic, remark));
|
||||
}
|
||||
return Result.string(classes, list, filterConfig);
|
||||
|
|
|
|||
Binary file not shown.
|
|
@ -1 +1 @@
|
|||
55c157414346e3ff571baad0a223bf15
|
||||
db8ee47ff1095679871f083b2f5bf388
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
"spider": "https://fm.t4tv.hz.cz/jar/custom_spider.jar;md5;55c157414346e3ff571baad0a223bf15",
|
||||
"spider": "https://fm.t4tv.hz.cz/jar/custom_spider.jar;md5;db8ee47ff1095679871f083b2f5bf388",
|
||||
"wallpaper": "https://gao.chuqiuyu.workers.dev",
|
||||
"sites": [
|
||||
{
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
"spider": "https://fm.t4tv.hz.cz/jar/custom_spider.jar;md5;55c157414346e3ff571baad0a223bf15",
|
||||
"spider": "https://fm.t4tv.hz.cz/jar/custom_spider.jar;md5;db8ee47ff1095679871f083b2f5bf388",
|
||||
"wallpaper": "http://饭太硬.top/深色壁纸/api.php",
|
||||
"sites": [
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in New Issue