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

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

关于多图文件名的获取和下载

[复制链接]
发表于 2011-2-24 20:57:31 | 显示全部楼层 |阅读模式
本帖最后由 eremiter 于 2011-2-25 16:48 编辑

代码如下,只想循环获取如 big:'http://www.text.cn/images/goods/20101231/91495ac9d644cb44.jpg'}" >
的文件名91495ac9d644cb44.jpg 并把这个图片下载下来。
使用 big:'(?<content>.*?)'}">正则表达式,只能获取第一个文件名/b55cf03136179136.jpg,文件名多了一个/,而且不会下载图片,请高人指点一下,谢谢
  1. <div class='goodspic'>  <div class="goods-detail-pic" style=' width:430px;height:430px;' bigpicsrc="http://www.text.cn/images/goods/20101231/b55cf03136179136.jpg"> <a rel='nofollow' href="product-11405-def-viewpic.html" target="_blank" style='color:#fff;font-size:263px; width:430px;height:430px;font-size:376.25px;;font-family:Arial;display:table-cell; vertical-align:middle;'> <img src="http://www.text.cn/images/goods/20101231/e300ab78bb7467c3.jpg" alt="Kappa 卡帕/背靠背板鞋 男鞋 K5093CC105-605" style='vertical-align:middle;'/> </a>  </div> <table border="0" cellpadding="0" cellspacing="0" class='picscroll'> <tr> <td width='5%' class='scrollarrow toleft' title='向左'>&nbsp; </td> <td width='90%'> <div class="goods-detail-pic-thumbnail pics">  <table border="0" cellpadding="0" cellspacing="0"> <tr>  <td class='current' img_id='45033'> <div class='uparrow'></div> <a rel='nofollow' href="product-11405-45033-viewpic.html" target="_blank" imgInfo="{small:'http://www.text.cn/images/goods/20101231/e300ab78bb7467c3.jpg',big:'http://www.text.cn/images/goods/20101231/b55cf03136179136.jpg'}"> <img src="http://www.text.cn/images/goods/20101231/b4d06f349e8e31a7.jpg" alt='Kappa 卡帕/背靠背板鞋 男鞋 K5093CC105-605' width='55' height='55'/> </a> </td>  <td img_id='45034'> <div class='uparrow'></div> <a rel='nofollow' href="product-11405-45034-viewpic.html" target="_blank" imgInfo="{small:'http://www.text.cn/images/goods/20101231/3b4cff94b9dcba93.jpg',big:'http://www.text.cn/images/goods/20101231/91495ac9d644cb44.jpg'}" > <img src="http://www.text.cn/images/goods/20101231/427753cfe042791a.jpg" alt='Kappa 卡帕/背靠背板鞋 男鞋 K5093CC105-605' width='55' height='55'/> </a> </td>  <td img_id='45035'> <div class='uparrow'></div> <a rel='nofollow' href="product-11405-45035-viewpic.html" target="_blank" imgInfo="{small:'http://www.text.cn/images/goods/20101231/0df0f12ed1f9afe2.jpg',big:'http://www.text.cn/images/goods/20101231/a6adb6e20eae5b35.jpg'}" > <img src="http://www.text.cn/images/goods/20101231/cf3057e09edf2f88.jpg" alt='Kappa 卡帕/背靠背板鞋 男鞋 K5093CC105-605' width='55' height='55'/> </a> </td>  <td img_id='45036'> <div class='uparrow'></div> <a rel='nofollow' href="product-11405-45036-viewpic.html" target="_blank" imgInfo="{small:'http://www.text.cn/images/goods/20101231/7149bcb26177c025.jpg',big:'http://www.text.cn/images/goods/20101231/3e56162895028583.jpg'}" > <img src="http://www.text.cn/images/goods/20101231/b042403bf3e6669c.jpg" alt='Kappa 卡帕/背靠背板鞋 男鞋 K5093CC105-605' width='55' height='55'/> </a> </td>  <td img_id='45037'> <div class='uparrow'></div> <a rel='nofollow' href="product-11405-45037-viewpic.html" target="_blank" imgInfo="{small:'http://www.text.cn/images/goods/20101231/e6d11a7041e18fcb.jpg',big:'http://www.text.cn/images/goods/20101231/407df36a479de53b.jpg'}" > <img src="http://www.text.cn/images/goods/20101231/f3d522c6464271ab.jpg" alt='Kappa 卡帕/背靠背板鞋 男鞋 K5093CC105-605' width='55' height='55'/> </a> </td>  <td img_id='45038'> <div class='uparrow'></div> <a rel='nofollow' href="product-11405-45038-viewpic.html" target="_blank" imgInfo="{small:'http://www.text.cn/images/goods/20101231/1e3fab4e83fb5913.jpg',big:'http://www.text.cn/images/goods/20101231/cd20d0cb4960bb09.jpg'}" > <img src="http://www.text.cn/images/goods/20101231/de3c8bbe3151e3d5.jpg" alt='Kappa 卡帕/背靠背板鞋 男鞋 K5093CC105-605' width='55' height='55'/> </a> </td>  <td img_id='45039'> <div class='uparrow'></div> <a rel='nofollow' href="product-11405-45039-viewpic.html" target="_blank" imgInfo="{small:'http://www.text.cn/images/goods/20101231/8f6fd77ce3b96f29.jpg',big:'http://www.text.cn/images/goods/20101231/a45011aa5a32e726.jpg'}" > <img src="http://www.text.cn/images/goods/20101231/2a7e76798929b111.jpg" alt='Kappa 卡帕/背靠背板鞋 男鞋 K5093CC105-605' width='55' height='55'/> </a> </td>  </tr> </table>  </div> </td> <td width='5%' class='scrollarrow toright' title='向右'>&nbsp;</td> </tr> </table> <a href="product-11405-45033-viewpic.html" target="_blank" onclick='_open(this.href);return false;'> </a>
复制代码
发表于 2011-2-24 21:20:59 | 显示全部楼层
你好,你是免费版的?
 楼主| 发表于 2011-2-25 08:42:51 | 显示全部楼层
是的2010 免费版的
您需要登录后才可以回帖 登录 | 加入会员

本版积分规则

企业微信|手机版|Archiver|火车采集器官方站 ( 皖ICP备06000549 )

GMT+8, 2026-5-3 02:46

Powered by Discuz! X3.4

Copyright © 2001-2020, Tencent Cloud.

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