VB.NET屏幕抓取问题. [英] VB.NET Screen Scraping Question....

查看:77
本文介绍了VB.NET屏幕抓取问题.的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有兴趣制作一个简单的小应用程序,这将有助于我针对市场上各种产品进行关键字研究.我正在研究SEO,以帮助我更好地放置在搜索引擎中.我注意到那里有很多程序 能够从各种搜索引擎中抓取关键字建议,以收集人们正在进入每个搜索引擎数据库的所有关键字建议.

例如,Google有一个关键字建议"下拉框,在您输入基本关键字后,该建议框会显示更多关键字建议,如下图所示:

所以我想做的是将这些关键字收集到VB.NET中的Textbox中,以便我可以更好地了解搜索引擎中正在搜索的内容.

我对HttpWebRequest&使用Regex收集数据的Webclient方法,但是我不确定如何从任何搜索引擎请求关键字建议.我相信只有在向 脚本或换句话说,在您输入主要关键字请求以生成那些相关关键字之前,关键字不会出现.

如果有人可以帮助解释哪种方法最适合收集这些关键字,并可能发布一个小的或简单的代码段进行演示,我将不胜感激.我会很感激的.再次感谢! :)

解决方案

TM,

我不确定这一点,但您极有可能试图抓取"您的内容,从而违反了Google的ToC.该信息.

您可能想要查看他们的各种API,以查看他们是否有这样做的方法,而事实并非如此,这更多地表明它违反了他们的条款.


I am interested in making a simple little application that will help me with my Keyword Research for various products that are on the market. I am studying SEO to help me place better in search engines. I noticed that there are quite a few programs out there that have the ability to scrape Keyword Suggestions from various search engines to gather up all of the Keyword Suggestions that people are entering into each search engines database.

For example, Google has a Keyword Suggestions drop down box that displays more keyword suggestions after you enter in a base keyword as shown in this image:

So what I'm trying to do is collect these keywords to a Textbox in VB.NET so that I can get a better understanding of what's being searched in search engines.

I know a little bit about the HttpWebRequest & Webclient methods for collecting data with Regex, but I'm not sure how to request the Keyword Suggestions from any search engine. I believe that the data only becomes available after making a request to the script or in other words, the Keywords DO NOT appear until you enter your main Keyword Request to generate those relevant keywords.

I would appreciate it if someone here could help explain what method is best for collecting these keywords and possibly post a small or simple code snippet for a demonstration. I would appreciate the help. Thanks again! :)

解决方案

TM,

I don't know this for sure, but in all likelihood you're violating Google's ToC by trying to "scrape" that information.

You might want to look through their various API's to see if they have a method for doing that and it not, that's all the more indication it's against their terms.


这篇关于VB.NET屏幕抓取问题.的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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