diff --git a/plugins/ask.py b/plugins/ask.py index f2d1c81..09c23a2 100644 --- a/plugins/ask.py +++ b/plugins/ask.py @@ -64,7 +64,10 @@ def do_search(self): except Exception as e: print(e) sys.exit(4) - + + if r.encoding is None: + r.encoding = 'UTF-8' + self.results = r.content.decode(r.encoding) self.totalresults += self.results