mirror of
https://github.com/bizhangjie/CatVodSpider.git
synced 2026-11-04 18:52:12 +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")) {
|
for (Element element : doc.select("div.dplayer")) {
|
||||||
String play = element.attr("data-config");
|
String play = element.attr("data-config");
|
||||||
JSONObject jsonObject = new JSONObject(play);
|
JSONObject jsonObject = new JSONObject(play);
|
||||||
|
JSONObject video = jsonObject.getJSONObject("video");
|
||||||
if (playUrl == ""){
|
if (playUrl == ""){
|
||||||
playUrl = "第" + index + "集$" + jsonObject.get("url");
|
playUrl = "第" + index + "集$" + video.get("url");
|
||||||
}else {
|
}else {
|
||||||
playUrl = playUrl + "#第" + index + "集$" + jsonObject.get("url");
|
playUrl = playUrl + "#第" + index + "集$" + video.get("url");
|
||||||
}
|
}
|
||||||
index++;
|
index++;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user