mirror of
https://github.com/bizhangjie/CatVodSpider.git
synced 2026-11-03 18:24:46 +00:00
'更新可用状态'
This commit is contained in:
1 parent
cef129a7a1
commit
ad17a37b26
1 file changed
+3
-2
@@ -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