Fix acgsou encoding error on python2 and add unicode characters to unit testt

This commit is contained in:
rinpatch 2018-05-05 23:41:13 +03:00
parent 5897343ab2
commit 059c2ccb95
No known key found for this signature in database
GPG key ID: DBBBD402C68A98DA
2 changed files with 7 additions and 6 deletions

View file

@ -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,