summaryrefslogtreecommitdiff
path: root/searx/engines/startpage.py
diff options
context:
space:
mode:
authorCqoicebordel <Cqoicebordel@users.noreply.github.com>2015-01-15 20:18:40 +0100
committerCqoicebordel <Cqoicebordel@users.noreply.github.com>2015-01-15 20:18:40 +0100
commitfa0330f0ff3c68c93308f156c30ce6a3366c1376 (patch)
treebb77b990b5045359d54350e60642167cf70e0c6d /searx/engines/startpage.py
parent75bd4556f8cca8c39799fdee02739408a4d84cfa (diff)
downloadsearxng-fa0330f0ff3c68c93308f156c30ce6a3366c1376.tar.gz
searxng-fa0330f0ff3c68c93308f156c30ce6a3366c1376.zip
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 ?
Diffstat (limited to 'searx/engines/startpage.py')
-rw-r--r--searx/engines/startpage.py1
1 files changed, 0 insertions, 1 deletions
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'