Alternative to the deprecated google REST web search API

瘦欲@ 提交于 2019-11-29 22:20:58

UPDATE: @ggez44 points to some official Google documentation of the solution described below here: http://support.google.com/customsearch/bin/answer.py?hl=en&answer=1210656


You can use the Google Custom Search Engine to search the entire web.

In brief:

  1. Create a CSE that searches a single site (e.g. google.com)
  2. In the CSE control panel's Basics section, set to "Search the entire web but emphasize certain sites"
  3. In the Sites section, delete the single site that you added when you created the CSE

Full details here:

Once that's implemented, you can enable billing in the Google API Console at a CPM of $5, to a total of 10,000 queries.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!