火车采集器软件交流官方论坛

 找回密码
 加入会员
搜索
火车采集器V9版免费下载火车浏览器 - 可视采集,万能群发,全自动脚本工具
查看: 1995|回复: 3

求助提取图片并批量下载

[复制链接]
发表于 2013-8-2 15:40:37 | 显示全部楼层 |阅读模式
求助批量下载以下代码中红色图片!
var arrPic = [], list = $$("idList"), image = $$("idImage");
arrPic.push({ smallPic: '<a rel="nofollow" href="http://product.pconline.com.cn/pdlib/523209_bigpicture7939726.html" target="_blank"><img width="58" height="43" src="http://img.pconline.com.cn/images/product/5203/520317/s400_3_s.jpg" />前视</a>', originPic: "http://img.pconline.com.cn/images/product/5203/520317/s400_3_m.jpg", zoomPic: "http://img.pconline.com.cn/images/product/5203/520317/s400_3.jpg" });
arrPic.push({ smallPic: '<a rel="nofollow" target="_blank" href="http://product.pconline.com.cn/pdlib/523209_bigpicture7939724.html"><img width="58" height="43" src="http://img.pconline.com.cn/images/product/5203/520317/s400_1_s.jpg" />正视</a>', originPic: "http://img.pconline.com.cn/images/product/5203/520317/s400_1_m.jpg", zoomPic: "http://img.pconline.com.cn/images/product/5203/520317/s400_1.jpg" });
arrPic.push({ smallPic: '<a rel="nofollow" target="_blank" href="http://product.pconline.com.cn/pdlib/523209_bigpicture7939725.html"><img width="58" height="43" src="http://img.pconline.com.cn/images/product/5203/520317/s400_2_s.jpg" />侧视</a>', originPic: "http://img.pconline.com.cn/images/product/5203/520317/s400_2_m.jpg", zoomPic: "http://img.pconline.com.cn/images/product/5203/520317/s400_2.jpg" });
arrPic.push({ smallPic: '<a rel="nofollow" target="_blank" href="http://product.pconline.com.cn/pdlib/523209_bigpicture8168251.html"><img width="58" height="43" src="http://img.pconline.com.cn/images/product/5232/523209/s400_8_s.jpg" />俯视</a>', originPic: "http://img.pconline.com.cn/images/product/5232/523209/s400_8_m.jpg", zoomPic: "http://img.pconline.com.cn/images/product/5232/523209/s400_8.jpg" });
list.innerHTML = "";
$$A.forEach(arrPic, function(o, i){
var li = list.appendChild(document.createElement("LI"));
发表于 2013-8-3 16:13:38 | 显示全部楼层
建立标签,选择循环匹配来采集
发表于 2013-8-6 09:10:22 | 显示全部楼层
这个不难,QQ:121591481
发表于 2013-8-6 10:20:22 | 显示全部楼层

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有帐号?加入会员

x
您需要登录后才可以回帖 登录 | 加入会员

本版积分规则

QQ|手机版|Archiver|火车采集器官方站 ( 皖ICP备06000549 )

GMT+8, 2025-5-15 05:47

Powered by Discuz! X3.4

Copyright © 2001-2020, Tencent Cloud.

快速回复 返回顶部 返回列表