如何通过bing search api获取更多信息? [英] How to get additional information via bing search api?

查看:219
本文介绍了如何通过bing search api获取更多信息?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

I use Bing Web Search API. Everything works, but i can't to get the information under the URL. For example, when we search the query "site:linkedin.com somebody", we get some informations under the link, like "x connections". Is there anyway to get these informations via the API?

推荐答案

听起来很不清楚,但可能是信息在链接下,您只是指找到的URL指向的内容。您只需要下载它并以某种方式呈现,使用......无论您拥有什么。这是使用类 System.Net.HttpWebReques System.Net.Http.HttpClient 完成的:

http://msdn.microsoft。 com / en-us / library / system.net.httpwebrequest%28v = vs.110%29.aspx [ ^ ],

http://msdn.microsoft.com/en-us/library/system。 net.http.httpclient%28v = vs.118%29.aspx [ ^ ]。



另请参阅我过去的答案:

从网页获取特定数据 [ ^ ],

执行某种Web请求并获得结果 [ ^ ]。



-SA
It sounds pretty unclear, but probably, by "information under the link", you simply mean content the found URL points to. You simply need to download it and present somehow, using… whatever you have. This is done using the class System.Net.HttpWebReques or System.Net.Http.HttpClient:
http://msdn.microsoft.com/en-us/library/system.net.httpwebrequest%28v=vs.110%29.aspx[^],
http://msdn.microsoft.com/en-us/library/system.net.http.httpclient%28v=vs.118%29.aspx[^].

See also my past answers:
get specific data from web page[^],
Performing a some kind of Web Request and getting result[^].

—SA


这篇关于如何通过bing search api获取更多信息?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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