diff options
author | rinpatch <rinpatch@airmail.cc> | 2018-05-05 23:41:13 +0300 |
---|---|---|
committer | rinpatch <rinpatch@airmail.cc> | 2018-05-05 23:41:13 +0300 |
commit | 059c2ccb9576f8aae36b4e1c0bf6a024d75701ea (patch) | |
tree | b0e41aa025e1e7f07416129313cd6efeddf5f901 /searx/engines/acgsou.py | |
parent | 5897343ab281a129d723e57c5e40531b4dab8b8b (diff) | |
download | searxng-059c2ccb9576f8aae36b4e1c0bf6a024d75701ea.tar.gz searxng-059c2ccb9576f8aae36b4e1c0bf6a024d75701ea.zip |
Fix acgsou encoding error on python2 and add unicode characters to unit testt
Diffstat (limited to 'searx/engines/acgsou.py')
-rw-r--r-- | searx/engines/acgsou.py | 2 |
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, |