Browse Source

[fix] wolframalpha unicode inputs

Adam Tauber 9 years ago
parent
commit
79705450df
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      searx/engines/wolframalpha_noapi.py

+ 1
- 1
searx/engines/wolframalpha_noapi.py View File

90
     if not result_chunks:
90
     if not result_chunks:
91
         return []
91
         return []
92
 
92
 
93
-    return [{'url': resp.request.headers['Referer'],
93
+    return [{'url': resp.request.headers['Referer'].decode('utf-8'),
94
              'title': 'Wolframalpha',
94
              'title': 'Wolframalpha',
95
              'content': ''.join(result_chunks)}]
95
              'content': ''.join(result_chunks)}]