通过单击c#中的缩略图下载图像 [英] download an image by clicking on thumbnail in c#

查看:59
本文介绍了通过单击c#中的缩略图下载图像的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在网络浏览器控件中显示谷歌图片搜索结果。我想通过一次点击将缩略图所指向的图像保存到预定义的本地位置。棘手的部分是谷歌使用一些动态的java脚本来防止网页抓取,所以源代码中没有img src ....标签。有没有一些聪明人可以帮我这个?



thx

I display a google image search result in a web browser control. I would like to save the image that a thumbnail points to by one click into a predefined local location. the tricky part is that google uses some dynamic java script to prevent web scraping, so there is no "img src ...." tag in the source code. Is there some wise guy who can help me with this?

thx

推荐答案

这是一篇文章。它可以帮助你..

C#5.0和WPF中的Google Image Search Client [ ^ ]
Here is an article. it may help you..
Google Image Search Client in C# 5.0 and WPF[^]


这篇关于通过单击c#中的缩略图下载图像的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆