Fix bug
This commit is contained in:
parent
ae5ed4f871
commit
8996204224
|
|
@ -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("&", " ");
|
||||
Vod vod = Vod.objectFrom(json);
|
||||
return Result.string(vod);
|
||||
}
|
||||
|
|
|
|||
Binary file not shown.
|
|
@ -1 +1 @@
|
|||
d5b7a7db38a22a734f298a4e5b876ff3
|
||||
37e03cb1531bf4b163bf0b366bc9aa6c
|
||||
|
|
|
|||
Loading…
Reference in New Issue