mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-12-23 11:12:47 +01:00
Google: Fix snarfer with Python 3.
This commit is contained in:
parent
7f2d38b885
commit
10fc03ab19
@ -281,7 +281,7 @@ class Google(callbacks.PluginRegexp):
|
||||
data = self.search(searchString, msg.args[0], {'smallsearch': True})
|
||||
if data['responseData']['results']:
|
||||
url = data['responseData']['results'][0]['unescapedUrl']
|
||||
irc.reply(url.encode('utf-8'), prefixNick=False)
|
||||
irc.reply(url, prefixNick=False)
|
||||
googleSnarfer = urlSnarfer(googleSnarfer)
|
||||
|
||||
def _googleUrl(self, s):
|
||||
|
Loading…
Reference in New Issue
Block a user