diff --git a/searx/engines/startpage.py b/searx/engines/startpage.py index 756e1670f..5a6c570d1 100644 --- a/searx/engines/startpage.py +++ b/searx/engines/startpage.py @@ -4,7 +4,6 @@ from lxml import html base_url = None search_url = None - def request(query, params): global search_url query = urlencode({'q': query})[2:] diff --git a/searx/settings.yml b/searx/settings.yml index c207f3f57..4978e9b6a 100644 --- a/searx/settings.yml +++ b/searx/settings.yml @@ -68,6 +68,13 @@ engines: - name : startpage engine : startpage + base_url : 'https://startpage.com/' + search_url : 'https://startpage.com/do/search' + + - name : ixquick + engine : startpage + base_url : 'https://www.ixquick.com/' + search_url : 'https://www.ixquick.com/do/search' - name : twitter engine : twitter