summaryrefslogtreecommitdiff
path: root/searx
diff options
context:
space:
mode:
authorAdam Tauber <asciimoo@gmail.com>2018-05-06 18:28:33 +0200
committerGitHub <noreply@github.com>2018-05-06 18:28:33 +0200
commit8a68cd2dcd6ec3116c6086300a3380f9d9a4f735 (patch)
treeb0e41aa025e1e7f07416129313cd6efeddf5f901 /searx
parent5897343ab281a129d723e57c5e40531b4dab8b8b (diff)
parent059c2ccb9576f8aae36b4e1c0bf6a024d75701ea (diff)
Merge pull request #1290 from rinpatch/acgsou-unicode
Fix acgsou encoding error on python2
Diffstat (limited to 'searx')
-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,