Alternative to the deprecated google REST web search API

前端 未结 1 996
暗喜
暗喜 2020-12-24 02:06

I have been using the Google Websearch API for over 1 year now. The service was deprecated in Nov 2010 but continues to provide results to date. More recently, google has st

相关标签:
1条回答
  • 2020-12-24 03:10

    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:

    • http://www.google.com/support/forum/p/customsearch/thread?tid=56c0bd92dda351b7&hl=en&fid=56c0bd92dda351b7000495e3f500d83f

    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.

    • Google API Console: https://code.google.com/apis/console/
    • Pricing: https://code.google.com/apis/customsearch/v1/overview.html#Pricing
    0 讨论(0)
提交回复
热议问题