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

.g google search seems broken now #37

Open
deadbeatguitarist opened this issue Dec 18, 2014 · 2 comments
Open

.g google search seems broken now #37

deadbeatguitarist opened this issue Dec 18, 2014 · 2 comments

Comments

@deadbeatguitarist
Copy link

If I issue .g helloworld I get this error:
TypeError: 'NoneType' object has no attribute 'getitem'
(file "/home/username/ircbot/thelonius/modules/search.py",
line 33, in result)

I gather the google api has changed? Other IRC bots are having the same problem.
This seems to be where things need to go. I'm not sure if its a trivial change or a big one. I enjoy this bot and it would be great if someone could update it but if not I can switch to a different bot. Thought I would try this first.

https://ajax.googleapis.com/ajax/services/search/web?q=hello&v=1.0
{"responseData": null, "responseDetails": "The Google Web Search API is no longer available. Please migrate to the Google Custom Search API (https://developers.google.com/custom-search/)", "responseStatus": 403}

@deadbeatguitarist
Copy link
Author

Further digging it looks like google is going to have people pay if they exceed 100 queries... Wonder if its time to migrate to duckduckgo... https://duckduckgo.com/api, https://pypi.python.org/pypi/duckduckgo2/

@deadbeatguitarist
Copy link
Author

Searches seem to work now. Not sure what the deal is.

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

1 participant