为什么`search.web` YQL表不再起作用? [英] Why `search.web` YQL table doesn't work anymore?

查看:153
本文介绍了为什么`search.web` YQL表不再起作用?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我使用search.web YQL表时,总是出现错误:

When I'm using search.web YQL table, I always get the error:

找不到表格search.web的定义

No definition found for Table search.web

在我的YQL语句中.即使使用SELECT url FROM search.web(0,10) WHERE query="stackoverflow"例如.

in my YQL statements. Even when using SELECT url FROM search.web(0,10) WHERE query="stackoverflow" for example.

所以我假设Yahoo停产了search.web或BOSS?有哪些选择?仍然有类似的方式可以爬网吗?

So I am assuming Yahoo discontinued search.web or BOSS? What are the alternatives? Is there still a similar way to crawl the web?

推荐答案

我们可以在YQL博客中阅读:

We can read in YQL Blog:

我们已经删除了所有依赖于BOSS v1 API的搜索表(search.web,search.image和search.news),因为上述BOSS v1到今天不再存在( http://www.ysearchblog.com/2011/06/30/you'sfor-for-this-boss-v2-updates/).

对于那些依赖那些表的人,请考虑使用社区BOSS v2表( https://github.com/yql/yql-tables/blob/master/boss/boss.search.xml ).

For those of you relying on those tables please consider using the community BOSS v2 table (https://github.com/yql/yql-tables/blob/master/boss/boss.search.xml).

感谢-YQL团队

来源:因此,您应该转到其他搜索服务,例如Y! BOSS v2.如上所述,已经有针对此的开放数据表,示例查询如下所示:

As a result, you should move to another search service like Y! BOSS v2. As mentioned above there are already open data tables for that, and an example query would look like:

SELECT * FROM boss.search WHERE query="stackoverflow"
AND ck="your oauth consumer key" 
AND secret="your oauth secret"

另一种替代方法是使用必应搜索:

Another alternative is to use Bing search:

SELECT * FROM microsoft.bing.web WHERE query="stackoverflow"

这篇关于为什么`search.web` YQL表不再起作用?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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