mirror of
https://github.com/bizhangjie/CatVodSpider.git
synced 2026-11-04 18:52:12 +00:00
'更新可用状态'
This commit is contained in:
1 parent
f90a1db848
commit
5128ba408e
3 files changed
+7
-5
No files matched your search
@@ -49,7 +49,7 @@ public class Cg51 extends Spider {
|
||||
// Matcher matcher = regex.matcher(pic);
|
||||
// String PicAddress = "";
|
||||
// if (matcher.find()) {
|
||||
// PicAddress = CgImageUtil.loadBackgroundImage(matcher.group(1));
|
||||
// PicAddress = proxyImgUrl + matcher.group(1);
|
||||
// } else {
|
||||
// }
|
||||
// String url = element.select("a").attr("href");
|
||||
@@ -93,9 +93,11 @@ public class Cg51 extends Spider {
|
||||
|
||||
// 遍历任务结果,并将结果设置到对应的Vod对象中
|
||||
for (int i = 0; i < futures.size(); i++) {
|
||||
Vod vod = list.get(i);
|
||||
String result = futures.get(i).get();
|
||||
vod.setVodPic(result);
|
||||
if (i < list.size()) { // 确保索引不超出列表范围
|
||||
Vod vod = list.get(i);
|
||||
String result = futures.get(i).get();
|
||||
vod.setVodPic(result);
|
||||
}
|
||||
}
|
||||
} catch (InterruptedException | ExecutionException e) {
|
||||
e.printStackTrace();
|
||||
|
||||
Binary file not shown.
@@ -1 +1 @@
|
||||
d71d23f640f5e39facbd698a2a692ad8
|
||||
6d194ba92cef794bed54504cec4ee4f7
|
||||
Reference in new issue
Block a user