关于 Google Custom Search API 的正确使用 [英] About the appropriate usage of the Google Custom Search API

查看:35
本文介绍了关于 Google Custom Search API 的正确使用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在编写一个商业应用程序,它将 URL 列表作为输入(在本例中来自 Google 自定义搜索),处理 URL 指向的页面并将处理后的信息与 URL 一起存储.

I'm in the middle of writing a commercial application that takes a list of URLs as input (in this case from Google Custom Search), process the pages pointed to by the URLs and storing the processed information alongside the URLs.

我只是想知道是否有人知道这是否违反了其 TOS 中的规定:您不得以任何方式构建、缓存或修改 Google 生成的结果"..

I was just wondering if anyone knows whether this breaks the rule in its TOS which states that: "You may not in any way frame, cache or modify the Results produced by Google"..

来源:http://www.google.com/cse/docs/tos.html

我也很想知道是否有人可以推荐任何好的搜索引擎 API.

I would also be interested to know if anyone has any good search engine APIs to recommend.

推荐答案

您需要区分 Google 自定义搜索和 Google 自定义搜索 API.

You need to differentiate Google Custom Search and the Google Custom Search API.

自定义搜索引擎是您可以嵌入到网站中的 Google 搜索功能.据我所知,它可能只供客户端浏览器使用,您不得以任何方式修改/框架/等结果.

CSE is the Google Search functionality you can embed into your web site. It may as far as I know only be used by the client web browser, and you must not modify/frame/etc the results in any way.

可以在此处找到自定义搜索 API 的文档:

Documentation for the Custom Search API can be found here:

https://developers.google.com/custom-search/v1/overview

请注意,查询限制为每天 100 个.

Note that queries are limited to 100 per day.

如果您在开发者控制台中启用此 API,您将看到此服务的明确 TOS,可能是这些:

If you enable this API in the developer console, you will be presented an explicit TOS for this service, which probably are these:

https://developers.google.com/custom-search/terms

https://developers.google.com/terms/

请注意,这些确实包括

禁止内容

除非内容所有者或适用法律明确允许,否则您同意您不会,也不会允许您的最终用户对从 API 返回的内容执行以下操作:

Unless expressly permitted by the content owner or by applicable law, you agree that you will not, and will not permit your end users to, do the following with content returned from the APIs:

抓取、构建数据库或以其他方式创建此类内容的永久副本,或保留缓存副本的时间超过缓存标头允许的时间;

Scrape, build databases or otherwise create permanent copies of such content, or keep cached copies longer than permitted by the cache header;

复制、翻译、修改、创作衍生作品、出售、出租、出借、转让、分发、公开展示或再许可给任何第三方;

Copy, translate, modify, create a derivative work of, sell, lease, lend, convey, distribute, publicly display or sublicense to any third party;

歪曲来源或所有权;或

删除、掩盖或更改任何版权、商标或其他所有权声明,伪造或删除任何作者署名、法律声明或其他材料来源或来源的标签.

Remove, obscure, or alter any copyright, trademark or other proprietary rights notices, falsify or delete any author attributions, legal notices or other labels of the origin or source of material.

您的使用听起来好像属于构建数据库"类别.

Your use sounds as if it falls into the "build databases" category.

由于您每天只能收到 100 个请求,并且不允许从中构建数据库,因此我认为该 API 无法满足您的需求.

Since you only get 100 requests a day and are not allowed to build a database out of that, I figure the API will not satisfy your needs.

这篇关于关于 Google Custom Search API 的正确使用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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