如何获取带有查询结果的谷歌页面?
我想从“www.google.com”下载查询结果。我有这个代码:
string query = "where buy a nice dress in Londod";
string site = "www.google.com";
string page = ??; //What I must to do in order to get this page
有什么办法可以做我想做的事吗?
I want to download from "www.google.com" with results of query. I have this code:
string query = "where buy a nice dress in Londod";
string site = "www.google.com";
string page = ??; //What I must to do in order to get this page
Is there any way to do what I want?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
基本的谷歌查询可以按以下方式格式化:(
在q=之后搜索关键字)
Basic google queries can be formatted the following way:
(search keywords after q=)
你需要创建一个网络爬虫,如果你使用python,那么简单如下:
you need to create a web crawler, if you use python, it is simple as this: