This commit is contained in:
FongMi 2023-09-06 00:35:29 +08:00
parent ae5ed4f871
commit 8996204224
3 changed files with 3 additions and 2 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