mirror of
https://github.com/bizhangjie/CatVodSpider.git
synced 2025-10-28 10:32:16 +00:00
'更新可用状态'
This commit is contained in:
@@ -135,10 +135,11 @@ public class Cg51 extends Spider {
|
||||
for (Element element : doc.select("div.dplayer")) {
|
||||
String play = element.attr("data-config");
|
||||
JSONObject jsonObject = new JSONObject(play);
|
||||
JSONObject video = jsonObject.getJSONObject("video");
|
||||
if (playUrl == ""){
|
||||
playUrl = "第" + index + "集$" + jsonObject.get("url");
|
||||
playUrl = "第" + index + "集$" + video.get("url");
|
||||
}else {
|
||||
playUrl = playUrl + "#第" + index + "集$" + jsonObject.get("url");
|
||||
playUrl = playUrl + "#第" + index + "集$" + video.get("url");
|
||||
}
|
||||
index++;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user