Google: self-promot-- add DDG plugin with py2/py3 support

This commit is contained in:
James Lu 2016-05-06 07:14:25 -07:00
parent b6695172c8
commit 218ba764cc

View File

@ -107,7 +107,8 @@ class Google(callbacks.PluginRegexp):
'future release. Please consider switching to an other ' 'future release. Please consider switching to an other '
'plugin for your searches, like ' 'plugin for your searches, like '
'<https://github.com/Hoaas/Supybot-plugins/tree/master/DuckDuckGo>, ' '<https://github.com/Hoaas/Supybot-plugins/tree/master/DuckDuckGo>, '
'or <https://github.com/joulez/GoogleCSE>.') '<https://github.com/joulez/GoogleCSE>, or '
'<https://github.com/GLolol/SupyPlugins/tree/master/DDG>.')
ref = self.registryValue('referer') ref = self.registryValue('referer')
if not ref: if not ref:
ref = 'http://%s/%s' % (dynamic.irc.server, ref = 'http://%s/%s' % (dynamic.irc.server,