mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-30 06:49:24 +01:00
Forgot to utf-8 encode the URL from a Google search
This commit is contained in:
parent
6cfde5bcc9
commit
f772fbf284
@ -128,7 +128,7 @@ class Google(callbacks.PluginRegexp):
|
|||||||
for result in data:
|
for result in data:
|
||||||
title = utils.web.htmlToText(result['titleNoFormatting']\
|
title = utils.web.htmlToText(result['titleNoFormatting']\
|
||||||
.encode('utf-8'))
|
.encode('utf-8'))
|
||||||
url = result['unescapedUrl']
|
url = result['unescapedUrl'].encode('utf-8')
|
||||||
if title:
|
if title:
|
||||||
if bold:
|
if bold:
|
||||||
title = ircutils.bold(title)
|
title = ircutils.bold(title)
|
||||||
|
Loading…
Reference in New Issue
Block a user