@@ -95,7 +95,7 @@ def get_sc_code(headers):
9595 # suspend startpage API --> https://github.com/searxng/searxng/pull/695
9696 raise SearxEngineResponseException(
9797 suspended_time=7 * 24 * 3600, message="PR-695: query new sc time-stamp failed!"
98− )
98+ ) from exc
9999
100100 sc_code = href[5:]
101101 sc_code_ts = time()
@@ -107,10 +107,19 @@ def get_sc_code(headers):
107107# do search-request
108108def request(query, params):
109109
110+ # pylint: disable=line-too-long
111+ # The format string from Startpage's FFox add-on [1]::
112+ #
113+ # https://www.startpage.com/do/dsearch?query={searchTerms}&cat=web&pl=ext-ff&language=__MSG_extensionUrlLanguage__&extVersion=1.3.0
114+ #
115+ # [1] https://addons.mozilla.org/en-US/firefox/addon/startpage-private-search/
116+
110117 args = {
111118 'query': query,
112119 'page': params['pageno'],
113120 'cat': 'web',
121+ # 'pl': 'ext-ff',
122+ # 'extVersion': '1.3.0',
114123 # 'abp': "-1",
115124 'sc': get_sc_code(params['headers']),
116125 }