VB.net从Goolgle搜索中提取结果 [英] VB.net Extract Result From Goolgle Search

查看:149
本文介绍了VB.net从Goolgle搜索中提取结果的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想使用 Google.API.Search

$ b $提取谷歌搜索结果,

im b

我试图通过此代码提取结果:

  Dim client As New GwebSearchClient(http: //www.google.co.il)
Dim results As IList(Of IWebResult)= client.Search(test,64)
For Each result As IWebResult In results
ListBox1 .Items.Add(result.Url)
Next
Me.Text = ListBox1.Items.Count

此部分代码部分


结果仅限于 64 结果。


我想得到400个结果,

还有另一种方法可以从google获得结果吗?


(我不喜欢使用 Google.API.Search ,也许通过regex得到结果)

我喜欢任何其他方式。

解决方案

不幸的是,谷歌搜索API限制搜索到64无论你设置超出这个限制。至少这就是我在他们的文档中读到的。

I want to extract google search result,
im using the Google.API.Search,

i tried to extract result by this code:

Dim client As New GwebSearchClient("http://www.google.co.il")
Dim results As IList(Of IWebResult) = client.Search("test", 64)
For Each result As IWebResult In results
            ListBox1.Items.Add(result.Url)
Next
Me.Text = ListBox1.Items.Count

This code works partially
the result is limited to 64 results.
i want to get 400 results,
there is another way to get result from google?
(I prefer not using the Google.API.Search , maybe get the result by "regex")
I'd love any other way.

解决方案

Sadly the google search api limits the search to 64 no matter if you set the limitation to exceed that. At least that's what I read in their documentation..

这篇关于VB.net从Goolgle搜索中提取结果的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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