Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
jayvscxx opened this issue Nov 5, 2017 · 2 comments
Open

Comments

@jayvscxx
Copy link

jayvscxx commented Nov 5, 2017

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"
}
}

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

@wanghsinche
Copy link
Owner

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

@jayvscxx
Copy link
Author

jayvscxx commented Nov 9, 2017

刚刚试了下,搜索"CAD",用bing有12000+结果,用google的只有一个结果,链接是有效的.
搜索其他内容基本相似,就是google的结果只有个位数或者没有.
现在起码算是能用了,但是距离从前的爽快感还差很多啊.
是不是哪里的设置问题?如果有空再查查?谢谢了.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants