百度云插件+APIKey

在百度云网盘的页面添加一个搜索框,调用搜索API搜索所有公开分享文件// To add a search frame that calls some api for searching some public shared files in BaiduYun cloud netdisk.

< Feedback on 百度云插件+APIKey

Question/comment

§
Posted: 05 November 2017

怎么google一直都是loading。。。而bing搜索就正常呢?

怎么google一直都是loading。。。而bing搜索就正常呢?
google是不是用这个网页搜索的?
https://www.googleapis.com/customsearch/v1element?key=AIzaSyCVAXiUzRYsML1Pv6RwSG1gunmMikTzQqY&rsz=filtered_cse&num=10&hl=en&prettyPrint=true&source=gcsc&gss=.com&sig=ee93f9aae9c9e9dba5eea831d506e69a&cx=018177143380893153305:yk0qpgydx_e&q=

我进去后显示以下内容:
{
"error": {
"errors": [
{
"domain": "global",
"reason": "forbidden",
"message": "Unauthorized access to internal API. Please refer to https://support.google.com/customsearch/answer/4542055"
}
],
"code": 403,
"message": "Unauthorized access to internal API. Please refer to https://support.google.com/customsearch/answer/4542055"
}
}


这个有说明关联吗?看不懂。
希望能修复,用这个脚本很久了,不想换了啊。

cinimaPembuat
§
Posted: 06 November 2017

看起来是免费的api失效了,要得到json数据需要向谷歌交钱,而且不便宜,我用的是谷歌的内部api,这个它禁了也没办法。
刚刚更新了token,你试试看,能不能用就不清楚了。

Post reply

Sign in to post a reply.