commit: 81a77f8a1753c0f2f4e3ffb3aa421e0645a3f6e6
parent: 75bd4556f8cca8c39799fdee02739408a4d84cfa
Author: Adam Tauber <asciimoo@gmail.com>
Date: Thu, 15 Jan 2015 21:22:40 +0100
Merge pull request #175 from Cqoicebordel/correct-startpage
Fix startpage
Diffstat:
1 file changed, 0 insertions(+), 2 deletions(-)
diff --git 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
@@ -38,7 +37,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'