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 ?
commitfa0330f0ff3c68c93308f156c30ce6a3366c1376
authorCqoicebordel <Cqoicebordel@users.noreply.github.com>
dateThu 15 Jan 2015, 20:18 (12 years ago)
parent75bd455
searx/engines/startpage.py−1
@@ -38,7 +38,6 @@ link_xpath = './/h3/a'
3838# do search-request
3939def request(query, params):
4040 offset = (params['pageno'] - 1) * 10
41− query = urlencode({'q': query})[2:]
4241
4342 params['url'] = search_url
4443 params['method'] = 'POST'