This repository has been archived by the owner. It is now read-only.
Google镜像服务, 使用Google custom search API实现.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
public
views
LICENSE
README.md
app.js
package.json

README.md

这是一个Google镜像服务程序, 运行在Node.js环境, 使用Express框架.

原理

使用Google Custom Search的API.
看到google200使用此方法, 借鉴一下.

使用方法

  1. 首先确保你已经安装了Node.js;
  2. 解压后, 执行npm install安装依赖库;
  3. node app.js开启服务.

局限性

由于API的限制, 搜索结果只可查看最前面的100个. Custom Search Element Control API中说到requests up to 10 results per page, for a maximum of 10 pages or 100 results.