add - 自定义视频路径11

This commit is contained in:
yangqiang3504
2022-08-22 15:57:50 +08:00
parent 1a7b53cf20
commit 1c4aa755a8
@@ -378,7 +378,8 @@ public class PushAgentQQ extends Spider {
public String getAliContent(List<String> list) { public String getAliContent(List<String> list) {
String str; String str;
try { try {
String url = list.get(0).trim(); String[] idInfo = list.get(0).split("\\$\\$\\$");
String url = idInfo[0].trim();
Pattern pattern = Folder; Pattern pattern = Folder;
Matcher matcher = pattern.matcher(url); Matcher matcher = pattern.matcher(url);
if (!matcher.find()) { if (!matcher.find()) {
@@ -574,7 +575,7 @@ public class PushAgentQQ extends Spider {
String[] idInfo = list.get(0).split("\\$\\$\\$"); String[] idInfo = list.get(0).split("\\$\\$\\$");
String url = idInfo[0].trim(); String url = idInfo[0].trim();
String pic = null; String pic = null;
if (idInfo.length > 1) { if (!idInfo[1].equals("")) {
pic = idInfo[1].trim(); pic = idInfo[1].trim();
} }
Pattern pattern = Folder; Pattern pattern = Folder;