From fa0330f0ff3c68c93308f156c30ce6a3366c1376 Mon Sep 17 00:00:00 2001
From: Cqoicebordel <Cqoicebordel@users.noreply.github.com>
Date: Thu, 15 Jan 2015 20:18:40 +0100
Subject: [PATCH 1/2] 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 ?

---
 searx/engines/startpage.py | 1 -
 1 file changed, 1 deletion(-)

diff --git a/searx/engines/startpage.py b/searx/engines/startpage.py
index 70b193952..22da3ab84 100644
--- a/searx/engines/startpage.py
+++ b/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'

From b4b666e7034d300903db9dc40c384cedebaca932 Mon Sep 17 00:00:00 2001
From: Cqoicebordel <Cqoicebordel@users.noreply.github.com>
Date: Thu, 15 Jan 2015 20:27:30 +0100
Subject: [PATCH 2/2] Flake8

---
 searx/engines/startpage.py | 1 -
 1 file changed, 1 deletion(-)

diff --git a/searx/engines/startpage.py b/searx/engines/startpage.py
index 22da3ab84..d60ecd978 100644
--- a/searx/engines/startpage.py
+++ b/searx/engines/startpage.py
@@ -10,7 +10,6 @@
 #
 # @todo        paging
 
-from urllib import urlencode
 from lxml import html
 from cgi import escape
 import re