Skip to main content
 首页 » 编程设计

c#之如何在单个 Google 搜索结果页面中获得 50 个结果

2024年02月23日15lyj

我正在制作一个 C# 应用程序。它需要在单个页面中获得 50 个结果,但我不知道如何实现它。

这是我获取谷歌搜索结果的代码

string querrystring="Hello"; 
WebClient wb = new WebClient(); 
string googlepage = wb.DownloadString("http://www.google.com/search?q=" + querrystring); 

请您参考如下方法:

使用以下查询字符串参数:

&num=50 
 
http://www.google.com/search?q=tonneau&hl=en&biw=1148&bih=729&num=50&lr=&ft=i&cr=&safe=images&tbs=