From 059c2ccb9576f8aae36b4e1c0bf6a024d75701ea Mon Sep 17 00:00:00 2001 From: rinpatch Date: Sat, 5 May 2018 23:41:13 +0300 Subject: Fix acgsou encoding error on python2 and add unicode characters to unit testt --- searx/engines/acgsou.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'searx') diff --git a/searx/engines/acgsou.py b/searx/engines/acgsou.py index c82379c27..cca28f0db 100644 --- a/searx/engines/acgsou.py +++ b/searx/engines/acgsou.py @@ -63,7 +63,7 @@ def response(resp): except: pass # I didn't add download/seed/leech count since as I figured out they are generated randomly everytime - content = 'Category: "{category}".' + content = u'Category: "{category}".' content = content.format(category=category) results.append({'url': href, -- cgit v1.2.3