diff options
author | Marc Abonce Seguin <marc-abonce@mailbox.org> | 2019-01-08 20:22:16 -0600 |
---|---|---|
committer | Marc Abonce Seguin <marc-abonce@mailbox.org> | 2019-01-08 21:02:23 -0600 |
commit | 626a8e9ac923886ea368a621a7711f09fa59da56 (patch) | |
tree | 9499cc136fb2aac5ad3d9e9e6b95eff5597dae76 /searx/engines/wolframalpha_api.py | |
parent | 2438b3c77a3ad276aaeb15e5a54315d351a42273 (diff) | |
download | searxng-626a8e9ac923886ea368a621a7711f09fa59da56.tar.gz searxng-626a8e9ac923886ea368a621a7711f09fa59da56.zip |
[fix] unicode error with WolframAlpha API engine
Diffstat (limited to 'searx/engines/wolframalpha_api.py')
-rw-r--r-- | searx/engines/wolframalpha_api.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/searx/engines/wolframalpha_api.py b/searx/engines/wolframalpha_api.py index 595c6b7de..1c58c4a9b 100644 --- a/searx/engines/wolframalpha_api.py +++ b/searx/engines/wolframalpha_api.py @@ -65,7 +65,7 @@ def replace_pua_chars(text): def response(resp): results = [] - search_results = etree.XML(resp.text) + search_results = etree.XML(resp.content) # return empty array if there are no results if search_results.xpath(failure_xpath): |