add - douban nm

This commit is contained in:
yangqiang3504
2022-09-15 10:41:18 +08:00
parent 59f08e448f
commit 1b7914f689
2 changed files with 5 additions and 5 deletions
@@ -492,7 +492,7 @@ public class PushAgent extends Spider {
String name = i+1+""; String name = i+1+"";
vodItems.add(name + "$" + id); vodItems.add(name + "$" + id);
} }
String playList = android.text.TextUtils.join("#", vodItems); String playList = TextUtils.join("#", vodItems);
vodAtom.put("vod_play_url", playList); vodAtom.put("vod_play_url", playList);
} }
} else { } else {
@@ -530,7 +530,7 @@ public class PushAgent extends Spider {
vodItems.add(name + "$" + id); vodItems.add(name + "$" + id);
} }
} }
String playList = android.text.TextUtils.join("#", vodItems); String playList = TextUtils.join("#", vodItems);
vodAtom.put("vod_play_url", playList); vodAtom.put("vod_play_url", playList);
} else { } else {
vodAtom.put("vod_play_url", "立即播放$" + url); vodAtom.put("vod_play_url", "立即播放$" + url);
@@ -564,7 +564,7 @@ public class PushAgent extends Spider {
vodItems.add(VodName + "$" + VodId); vodItems.add(VodName + "$" + VodId);
} }
} }
String playList = android.text.TextUtils.join("#", vodItems); String playList = TextUtils.join("#", vodItems);
vodAtom.put("vod_play_url", playList); vodAtom.put("vod_play_url", playList);
} else { } else {
vodAtom.put("vod_play_url", "立即播放$" + url); vodAtom.put("vod_play_url", "立即播放$" + url);
@@ -602,7 +602,7 @@ public class PushAgent extends Spider {
return result.toString(); return result.toString();
} else if (regexAli.matcher(url).find()) { } else if (regexAli.matcher(url).find()) {
if(VodName!=null) vodAtom.put("vod_name", VodName); if(VodName!=null) vodAtom.put("vod_name", VodName);
vodAtom.put("vod_id", android.text.TextUtils.join("$$$",idInfo)); vodAtom.put("vod_id", TextUtils.join("$$$",idInfo));
return getAliContent(url,vodAtom); return getAliContent(url,vodAtom);
} else if (url.startsWith("http://") || url.startsWith("https://")) { } else if (url.startsWith("http://") || url.startsWith("https://")) {
Document doc = null; Document doc = null;
@@ -288,7 +288,7 @@ public class XBiubiu extends PushAgent {
} }
JSONObject vod = new JSONObject(); JSONObject vod = new JSONObject();
vod.put("vod_id", ids.get(0)); vod.put("vod_id", webUrl);
vod.put("vod_name", title); vod.put("vod_name", title);
vod.put("vod_pic", cover); vod.put("vod_pic", cover);
vod.put("type_name", category); vod.put("type_name", category);