This commit is contained in:
FongMi 2023-09-06 00:35:29 +08:00
parent 6fd8abfb2a
commit 83e48ad4ec
5 changed files with 5 additions and 4 deletions

View File

@ -102,7 +102,8 @@ public class YingShi extends Spider {
@Override
public String detailContent(List<String> ids) throws Exception {
Document doc = Jsoup.parse(OkHttp.string(siteUrl + "/vod/play/id/" + ids.get(0) + "/sid/1/nid/1.html"));
String json = doc.html().split("let data = ")[1].split(";")[0];
String json = doc.html().split("let data = ")[1].split("let obj = ")[0].trim();
json = json.substring(0, json.length() - 1).replace("&amp;", " ");
Vod vod = Vod.objectFrom(json);
return Result.string(vod);
}

Binary file not shown.

View File

@ -1 +1 @@
d5b7a7db38a22a734f298a4e5b876ff3
37e03cb1531bf4b163bf0b366bc9aa6c

View File

@ -1,5 +1,5 @@
{
"spider": "https://fongmi.cachefly.net/FongMi/CatVodSpider/main/jar/custom_spider.jar;md5;d5b7a7db38a22a734f298a4e5b876ff3",
"spider": "https://fongmi.cachefly.net/FongMi/CatVodSpider/main/jar/custom_spider.jar;md5;37e03cb1531bf4b163bf0b366bc9aa6c",
"wallpaper": "https://gao.chuqiuyu.tk",
"sites": [
{

View File

@ -1,5 +1,5 @@
{
"spider": "https://fongmi.cachefly.net/FongMi/CatVodSpider/main/jar/custom_spider.jar;md5;d5b7a7db38a22a734f298a4e5b876ff3",
"spider": "https://fongmi.cachefly.net/FongMi/CatVodSpider/main/jar/custom_spider.jar;md5;37e03cb1531bf4b163bf0b366bc9aa6c",
"wallpaper": "http://饭太硬.top/深色壁纸/api.php",
"sites": [
{