summaryrefslogtreecommitdiff
path: root/searx/engines
diff options
context:
space:
mode:
authorrinpatch <rinpatch@airmail.cc>2018-05-05 23:41:13 +0300
committerrinpatch <rinpatch@airmail.cc>2018-05-05 23:41:13 +0300
commit059c2ccb9576f8aae36b4e1c0bf6a024d75701ea (patch)
treeb0e41aa025e1e7f07416129313cd6efeddf5f901 /searx/engines
parent5897343ab281a129d723e57c5e40531b4dab8b8b (diff)
downloadsearxng-059c2ccb9576f8aae36b4e1c0bf6a024d75701ea.tar.gz
searxng-059c2ccb9576f8aae36b4e1c0bf6a024d75701ea.zip
Fix acgsou encoding error on python2 and add unicode characters to unit testt
Diffstat (limited to 'searx/engines')
-rw-r--r--searx/engines/acgsou.py2
1 files changed, 1 insertions, 1 deletions
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,