我要把这个DIV里面的所有图片下载到本地怎么写呀
望各位大哥帮忙看下拉!!!!
<div id="Product_Intro_Right">
<ul id="mycarousel" class="jcarousel-skin-tango"><li><img onerror = "this.src='http://www.360buy.com/images/none/none_50.gif'" alt="联想(Lenovo)Y450A-PEI 14.0英寸笔记本电脑 (P8700 4G 320G 512M独显 D刻 蓝牙 遥控器 WIN7)" src="http://img10.360buyimg.com/S5/1829/60221b28-3dc5-431f-bcaa-5fde46bb81b6.jpg" name="1829/60221b28-3dc5-431f-bcaa-5fde46bb81b6.jpg"/></li><li><img onerror = "this.src='http://www.360buy.com/images/none/none_50.gif'" alt="联想(Lenovo)Y450A-PEI 14.0英寸笔记本电脑 (P8700 4G 320G 512M独显 D刻 蓝牙 遥控器 WIN7)" src="http://img10.360buyimg.com/S5/4043/acc59b2d-cd2a-4002-9831-1712f7cd20fa.jpg" name="4043/acc59b2d-cd2a-4002-9831-1712f7cd20fa.jpg"/></li></ul>
<div>
望各位大哥帮忙看下拉!!!!
<div id="Product_Intro_Right">
<ul id="mycarousel" class="jcarousel-skin-tango"><li><img onerror = "this.src='http://www.360buy.com/images/none/none_50.gif'" alt="联想(Lenovo)Y450A-PEI 14.0英寸笔记本电脑 (P8700 4G 320G 512M独显 D刻 蓝牙 遥控器 WIN7)" src="http://img10.360buyimg.com/S5/1829/60221b28-3dc5-431f-bcaa-5fde46bb81b6.jpg" name="1829/60221b28-3dc5-431f-bcaa-5fde46bb81b6.jpg"/></li><li><img onerror = "this.src='http://www.360buy.com/images/none/none_50.gif'" alt="联想(Lenovo)Y450A-PEI 14.0英寸笔记本电脑 (P8700 4G 320G 512M独显 D刻 蓝牙 遥控器 WIN7)" src="http://img10.360buyimg.com/S5/4043/acc59b2d-cd2a-4002-9831-1712f7cd20fa.jpg" name="4043/acc59b2d-cd2a-4002-9831-1712f7cd20fa.jpg"/></li></ul>
<div>
在使用 httpwebrequest或webclient 下载图片
Regex re = new Regex("(?is)<img.*?src=[\"'](?<url>[^\"'\\s]+)");
foreach (Match m in re.Matches(str))
{
Console.WriteLine(m.Value);
}
能说下具体代码怎么写吗?我不太会而且工作很急用
谢谢呀!!!!!