mirror of
https://github.com/searxng/searxng.git
synced 2024-11-19 19:00:10 +01: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