mirror of
https://github.com/searxng/searxng
synced 2024-01-01 18:24:07 +00:00
[fix] unicode decoding
This commit is contained in:
parent
0ad272c5cb
commit
7aa9f4885a
@ -68,7 +68,7 @@ def request(query, params):
|
|||||||
def response(resp):
|
def response(resp):
|
||||||
results = []
|
results = []
|
||||||
|
|
||||||
rss = etree.fromstring(resp.text)
|
rss = etree.fromstring(resp.content)
|
||||||
|
|
||||||
ns = rss.nsmap
|
ns = rss.nsmap
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user