searxng/searx/data
Markus Heiser 9c68980ea1 [fix] startpage engine: language/region & time support & fix CAPTCHA
One reason for the often seen CAPTCHA of the startpage requests are the
incomplete requests SearXNG sends to startpage.com.  To avoid CAPTCHA we need to
send a well formed HTTP POST request with a cookie, we need to form a request
that is identical to the request build by startpage.com itself:

- in the cookie the **region** is selected
- in the POST arguments the **language** is selected

Based on the *engine_properties* boilerplate, SearXNG's startpage engine now
implements a `_fetch_engine_properties()` function to fetch regions & languages
from startpage.com.

This patch is a complete new implementation of the request() function, reversed
engineered from the startpage.com page.  The new implementation adds

- time-range support
- save-search support

to the startpage engine which has been missed in the past.

Closes: https://github.com/searxng/searxng/issues/1081
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2022-04-19 14:40:57 +02:00
..
__init__.py [mod] remove deprecate code 2022-01-29 08:54:12 +01:00
ahmia_blacklist.txt Update searx.data - update_ahmia_blacklist.py 2022-04-01 06:27:22 +00:00
currencies.json Update searx.data - update_currencies.py 2022-04-01 06:27:18 +00:00
engine_descriptions.json Update searx.data - update_engine_descriptions.py 2022-04-16 13:17:39 +02:00
engines_languages.json [fix] startpage engine: language/region & time support & fix CAPTCHA 2022-04-19 14:40:57 +02:00
external_bangs.json [upd] searx/data/external_bangs.json 2022-01-12 19:37:13 +01:00
external_urls.json [mod] add external_urls.json and wikidata_units.json 2020-10-28 08:09:25 +01:00
osm_keys_tags.json [enh] openstreetmap / map template: improve results 2021-06-09 18:08:23 +02:00
useragents.json Update searx.data - update_firefox_version.py 2022-04-01 06:27:13 +00:00
wikidata_units.json Update searx.data - update_wikidata_units.py 2022-04-01 06:27:23 +00:00