Google 网络搜索 API 已被弃用,现在有哪些替代方案? [英] What are the alternatives now that the Google web search API has been deprecated?

查看:13
本文介绍了Google 网络搜索 API 已被弃用,现在有哪些替代方案?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Google 网页搜索 API 已被弃用,取而代之的是自定义搜索 API(请参阅 http://code.google.com/apis/websearch/).

Google Web Search API has been deprecated and replaced with Custom Search API (see http://code.google.com/apis/websearch/).

我想搜索整个网络,但似乎使用新 API 只能搜索自定义网站.

I wanted to search the whole web but it looks like with the new API only custom sites can be searched.

有没有办法以编程方式搜索整个网络?我能够使用 Java 程序中的 JSON 查询旧 API.

Is there a way to search the whole web programmatically? I was able to query the old API using JSON from a Java program.

推荐答案

你可以像浏览器一样发送它们,然后解析 html,这就是我一直在做的事情,即使是像 Youtube 这样的东西.

You could just send them through like a browser does, and then parse the html, that is what I have always done, even for things like Youtube.

这篇关于Google 网络搜索 API 已被弃用,现在有哪些替代方案?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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