VB.net从Google搜索中提取结果 [英] VB.net Extract Result From Google Search
问题描述
我想提取Google搜索结果,
我正在使用Google.API.Search
,
I want to extract google search result,
I'm 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
此代码部分有效
结果仅限于 64 个结果.
我想得到400个结果,
还有另一种从谷歌获得结果的方法吗?
(我更喜欢不使用Google.API.Search
,也许可以通过"regex"获得结果)
我会以其他方式喜欢.
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.
推荐答案
可悲的是,无论您将限制设置为超过该限制,google搜索api都将搜索限制为64.至少我是在他们的文档中读到的.
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从Google搜索中提取结果的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!