Skip to content

.g google search seems broken now #37

@deadbeatguitarist

Description

@deadbeatguitarist

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}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions