Browse Source

Merge pull request #175 from Cqoicebordel/correct-startpage

Fix startpage
Adam Tauber 10 years ago
parent
commit
81a77f8a17
1 changed files with 0 additions and 2 deletions
  1. 0 2
      searx/engines/startpage.py

+ 0 - 2
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'