'更新可用状态'

This commit is contained in:
zhangjie committed 2024-03-16 08:00:14 +08:00
1 parent f90a1db848
commit 5128ba408e
3 files changed
+4 -2

No files matched your search

@@ -49,7 +49,7 @@ public class Cg51 extends Spider {
// Matcher matcher = regex.matcher(pic); // Matcher matcher = regex.matcher(pic);
// String PicAddress = ""; // String PicAddress = "";
// if (matcher.find()) { // if (matcher.find()) {
// PicAddress = CgImageUtil.loadBackgroundImage(matcher.group(1)); // PicAddress = proxyImgUrl + matcher.group(1);
// } else { // } else {
// } // }
// String url = element.select("a").attr("href"); // String url = element.select("a").attr("href");
@@ -93,10 +93,12 @@ public class Cg51 extends Spider {
// 遍历任务结果,并将结果设置到对应的Vod对象中 // 遍历任务结果,并将结果设置到对应的Vod对象中
for (int i = 0; i < futures.size(); i++) { for (int i = 0; i < futures.size(); i++) {
if (i < list.size()) { // 确保索引不超出列表范围
Vod vod = list.get(i); Vod vod = list.get(i);
String result = futures.get(i).get(); String result = futures.get(i).get();
vod.setVodPic(result); vod.setVodPic(result);
} }
}
} catch (InterruptedException | ExecutionException e) { } catch (InterruptedException | ExecutionException e) {
e.printStackTrace(); e.printStackTrace();
} }
Binary file not shown.
+1 -1
View File
@@ -1 +1 @@
d71d23f640f5e39facbd698a2a692ad8 6d194ba92cef794bed54504cec4ee4f7