diff options
author | Noémi Ványi <sitbackandwait@gmail.com> | 2017-11-01 16:50:27 +0100 |
---|---|---|
committer | Noémi Ványi <sitbackandwait@gmail.com> | 2017-11-01 17:02:38 +0100 |
commit | 5954a8e16a64a369072a7487f62b6396a451ae5f (patch) | |
tree | 3931e34b8501cd58db58cb651b0193ee46c23eb8 /searx/engines/base.py | |
parent | d20bba6dc74ded16556acf2a404d01ec47455ca6 (diff) | |
download | searxng-5954a8e16a64a369072a7487f62b6396a451ae5f.tar.gz searxng-5954a8e16a64a369072a7487f62b6396a451ae5f.zip |
minor fix of BASE engine
Diffstat (limited to 'searx/engines/base.py')
-rwxr-xr-x | searx/engines/base.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/searx/engines/base.py b/searx/engines/base.py index ff006a3bc..be0b7d247 100755 --- a/searx/engines/base.py +++ b/searx/engines/base.py @@ -73,7 +73,7 @@ def request(query, params): def response(resp): results = [] - search_results = etree.XML(resp.text) + search_results = etree.XML(resp.content) for entry in search_results.xpath('./result/doc'): content = "No description available" |