forked from zaclys/searxng
Fix startpage
Fix issue with unicode caracters in startpage : we shouldn't urlencode them if we are using POST. Should fix #169. @dimqua can you confirm ?
This commit is contained in:
parent
75bd4556f8
commit
fa0330f0ff
|
@ -38,7 +38,6 @@ link_xpath = './/h3/a'
|
||||||
# do search-request
|
# do search-request
|
||||||
def request(query, params):
|
def request(query, params):
|
||||||
offset = (params['pageno'] - 1) * 10
|
offset = (params['pageno'] - 1) * 10
|
||||||
query = urlencode({'q': query})[2:]
|
|
||||||
|
|
||||||
params['url'] = search_url
|
params['url'] = search_url
|
||||||
params['method'] = 'POST'
|
params['method'] = 'POST'
|
||||||
|
|
Loading…
Reference in New Issue