Browse Source

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 10 years ago
parent
commit
fa0330f0ff
1 changed files with 0 additions and 1 deletions
  1. 0 1
      searx/engines/startpage.py

+ 0 - 1
searx/engines/startpage.py

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