Explorar el Código

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 ?
Cqoicebordel hace 10 años
padre
commit
fa0330f0ff
Se han modificado 1 ficheros con 0 adiciones y 1 borrados
  1. 0
    1
      searx/engines/startpage.py

+ 0
- 1
searx/engines/startpage.py Ver fichero

@@ -38,7 +38,6 @@ link_xpath = './/h3/a'
38 38
 # do search-request
39 39
 def request(query, params):
40 40
     offset = (params['pageno'] - 1) * 10
41
-    query = urlencode({'q': query})[2:]
42 41
 
43 42
     params['url'] = search_url
44 43
     params['method'] = 'POST'