必应搜索API:指定文件类型和站点/域? [英] Bing search API: specify filetype and site/domain?

查看:68
本文介绍了必应搜索API:指定文件类型和站点/域?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

多年来,我一直享受着娱乐的乐趣,并从MS产品中获得了丰厚的收入,今天,我基本上试图以编程方式使用Bing Azure(戴手套)进行搜索,因为我以为获取Google api很复杂.因此,我领导了数据市场并发布了此文件(比如说,perl的LWP已经用于传递凭据):

Having had the luxury of having my fun and earning my bread well away from MS products for years, I am today trying to programmatically search with Bing Azure (wearing gloves) basically because I thought getting a google api was complex. So I headed down Data Market and issued this (let's say with perl's LWP which has been used to pass credentials):

有效.

我现在想找出的是

1)如何告诉Bing搜索api将结果限制为特定域(例如".org",甚至单个网站"www.wikipedia.org").

1) how to tell the Bing search api to restrict results to a specific domain (e.g. ".org" or even a single website "www.wikipedia.org").

2)如何告诉搜索引擎将结果限制为特定的文件类型,例如"PDF","XML"(或PDF和XML)

2) how to tell the search engine to restrict results to a specific filetype, e.g. 'PDF', 'XML' (or PDF and XML if that's possible)

3)如果最新bing搜索API的GET请求中有功能/关键字的简单列表.如果您愿意,请不要MS链接-我真的很累.

3) if there is a simple list of the features/keywords in the GET request of the latest bing search API. Please no MS links if you please - i am really tired.

进行手动搜索时,我在bing搜索网站上看到了"site:.org".并了解"filetype:pdf"的工作原理.

I have seen "site:.org" working on the bing search website when doing a manual search. And read about "filetype:pdf" working too.

有任何提示吗?

bliako

推荐答案

破解了:

... Query=%27abc site:.com filetype:pdf%27

在m $意识到笨拙的成本时

at the point when m$ realises it costs to be clumsy

bliako

这篇关于必应搜索API:指定文件类型和站点/域?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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