on master help sign in
Merge pull request #175 from Cqoicebordel/correct-startpage

Fix startpage

commit81a77f8a1753c0f2f4e3ffb3aa421e0645a3f6e6 authorAdam Tauber <asciimoo@gmail.com> dateThu 15 Jan 2015, 21:22 (12 years ago) parent75bd455b4b666e
1 file changed−2
searx/engines/startpage.py−2
searx/engines/startpage.py−2
@@ -10,7 +10,6 @@
1010#
1111# @todo paging
1212
13−from urllib import urlencode
1413from lxml import html
1514from cgi import escape
1615import re
@@ -38,7 +37,6 @@ link_xpath = './/h3/a'
3837# do search-request
3938def request(query, params):
4039 offset = (params['pageno'] - 1) * 10
41− query = urlencode({'q': query})[2:]
4240
4341 params['url'] = search_url
4442 params['method'] = 'POST'