Giter VIP home page Giter VIP logo

googlecse's People

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar

googlecse's Issues

What would be a custom engine?

@config plugins.googleCSE.defaultEngine
I tried @config plugins.googleCSE.defaultEngine google.com
Got this: An error has occurred and has been logged. Check the logs for more information.

INFO 2016-08-02T11:51:27 "legacy" Search Engine API initialized
ERROR 2016-08-02T11:51:28 Uncaught exception in ['googlecse', 'search'].
Traceback (most recent call last):
  File "/usr/local/lib/python3.5/dist-packages/supybot/callbacks.py", line 1292, in _callCommand
    self.callCommand(command, irc, msg, *args, **kwargs)
  File "/usr/local/lib/python3.5/dist-packages/supybot/utils/python.py", line 90, in g
    f(self, *args, **kwargs)
  File "/usr/local/lib/python3.5/dist-packages/supybot/callbacks.py", line 1269, in callCommand
    method(irc, msg, *args, **kwargs)
  File "/usr/local/lib/python3.5/dist-packages/supybot/commands.py", line 1080, in newf
    f(self, irc, msg, args, *state.args, **state.kwargs)
  File "/home/him/Limnoria/plugins/GoogleCSE/plugin.py", line 160, in search
    page = self._next(msg.args[0])
  File "/home/him/Limnoria/plugins/GoogleCSE/plugin.py", line 127, in _next
    return self.engine[caller].next()
  File "/home/him/Limnoria/plugins/GoogleCSE/local/GoogleAPI.py", line 233, in next
    self._execute()
  File "/home/him/Limnoria/plugins/GoogleCSE/local/GoogleAPI.py", line 264, in _execute
    raise GoogleAPIError(self.__class__, self.response)
GoogleCSE.local.exceptions.GoogleAPIError: '(Legacy) 403: The Google Web Search API is no longer available. Please migrate to the Google Custom Search API (https://developers.google.com/custom-search/)'
ERROR 2016-08-02T11:51:28 Exception id: 0x6eef0

GoogleAPIError: '(CSE) 400: Invalid Value: invalid'

Hi,

Someone at #supybot just reported the following error when trying to search using GoogleCSE:

INFO 2016-08-09T20:01:04 googlecse search called in private by "[email protected]".
INFO 2016-08-09T20:01:04 "cse" Search Engine API created with custom engine ID "google"
ERROR 2016-08-09T20:01:05 Uncaught exception in ['googlecse', 'search'].
Traceback (most recent call last):
  File "/usr/local/lib/python2.7/dist-packages/supybot/callbacks.py", line 1292, in _callCommand
    self.callCommand(command, irc, msg, *args, **kwargs)
  File "/usr/local/lib/python2.7/dist-packages/supybot/utils/python.py", line 90, in g
    f(self, *args, **kwargs)
  File "/usr/local/lib/python2.7/dist-packages/supybot/callbacks.py", line 1269, in callCommand
    method(irc, msg, *args, **kwargs)
  File "/usr/local/lib/python2.7/dist-packages/supybot/commands.py", line 1080, in newf
    f(self, irc, msg, args, *state.args, **state.kwargs)
  File "/home/milda/conf/conf-limnoria/plugins/GoogleCSE/plugin.py", line 160, in search
    page = self._next(msg.args[0])
  File "/home/milda/conf/conf-limnoria/plugins/GoogleCSE/plugin.py", line 127, in _next
    return self.engine[caller].next()
  File "/home/milda/conf/conf-limnoria/plugins/GoogleCSE/local/GoogleAPI.py", line 233, in next
    self._execute()
  File "/home/milda/conf/conf-limnoria/plugins/GoogleCSE/local/GoogleAPI.py", line 264, in _execute
    raise GoogleAPIError(self.__class__, self.response)
GoogleAPIError: '(CSE) 400: Invalid Value: invalid'
ERROR 2016-08-09T20:01:05 Exception id: 0x7a3f7

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.