Fix bug
This commit is contained in:
parent
6fd8abfb2a
commit
83e48ad4ec
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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": [
|
||||
{
|
||||
|
|
|
|||
|
|
@ -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": [
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in New Issue