抓取验证码到图片框 [英] grap captcha to picturebox

查看:95
本文介绍了抓取验证码到图片框的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想制作一个程序来获取Google验证码并将其放入piturebox中,但是使用http请求可以有人帮助我通过id cuz获得此captha,我想我无法通过链接cuz获得每当我认为可以这样做时,都会改变吗?

i want to make a program that gets google captcha and put it into a piturebox like but with http request can someone help me to get this captha by id cuz i think i can`t be get by link cuz the like is change every time i think it could be done like this ?

<pre lang="vb"> for each link in site
if Link contains("www.google.com") then
picturebox1.image = link


如果
结束 next


end if
next

推荐答案

请不要使用txt来说话,那是为了帮助而不是程序员.

不,您不能使图片框指向链接.您需要下载图像以在本地显示,除非您在应用程序中放置了Web浏览器控件,然后在其中放置了html控件(链接到该图像)的html.图片框需要图像,而不是链接.
Please don''t use txt speak, that is for retards, not programmers.

No, you can''t make a picture box point to a link. You''d need to download the image to show it locally, unless you put a web browser control in your app, and then put html in there that is an img control linking to that image. A picture box wants an image, not a link.


这篇关于抓取验证码到图片框的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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