Update Cokemv.java

2
This commit is contained in:
nikolin601
2022-10-30 16:11:11 +08:00
committed by GitHub
parent e3dba29223
commit aa375f90c7
@@ -256,7 +256,7 @@ public class Cokemv extends Spider {
public String detailContent(List<String> ids) { public String detailContent(List<String> ids) {
try { try {
// 视频详情url // 视频详情url
String url = siteUrl + "/voddetail/" + ids.get(0) + ".html"; String url = siteUrl + "/voddetail/" + id + ".html";
Document doc = Jsoup.parse(OkHttpUtil.string(url, getHeaders(url))); Document doc = Jsoup.parse(OkHttpUtil.string(url, getHeaders(url)));
JSONObject result = new JSONObject(); JSONObject result = new JSONObject();
JSONObject vodList = new JSONObject(); JSONObject vodList = new JSONObject();