Google: Update suggestions in the deprecation warning

1. DDG is now built-in
2. GoogleCSE is actually limited to site-specific search
This commit is contained in:
Valentin Lorentz 2021-12-23 20:09:49 +01:00
parent caa5aa3d84
commit 7fade191c3
1 changed files with 1 additions and 4 deletions

View File

@ -124,10 +124,7 @@ class Google(callbacks.PluginRegexp):
self.log.warning('The Google plugin search is deprecated since '
'Google closed their public API and will be removed in a '
'future release. Please consider switching to an other '
'plugin for your searches, like '
'<https://github.com/Hoaas/Supybot-plugins/tree/master/DuckDuckGo>, '
'<https://github.com/joulez/GoogleCSE>, or '
'<https://github.com/jlu5/SupyPlugins/tree/master/DDG>.')
'plugin for your searches, like DDG (built-in)')
ref = self.registryValue('referer')
if not ref:
ref = 'http://%s/%s' % (dynamic.irc.server,