SearXNG is a free internet metasearch engine which aggregates results from various search services and databases. Users are neither tracked nor profiled.
Python bingbravedegoogleduckduckgogooglemetasearchprivacypythonqwantsearchsearch-enginesearxsearxngstartpageyahoo
[fix] yep: fix 403 forbidden errors
Bnyro44405bd03c14
diff --git a/searx/engines/yep.py b/searx/engines/yep.pyindex 726f62c0d..2de18b729 100644--- a/searx/engines/yep.py+++ b/searx/engines/yep.py@@ -19,6 +19,8 @@ search_type = "web" # 'web', 'images', 'news'safesearch = Truesafesearch_map = {0: 'off', 1: 'moderate', 2: 'strict'}+enable_http2 = False+def request(query, params):args = {@@ -30,6 +32,7 @@ def request(query, params):}params['url'] = f"{base_url}/fs/2/search?{urlencode(args)}"params['headers']['Referer'] = 'https://yep.com/'+ params['headers']['Origin'] = 'https://yep.com'return paramsdiff --git a/searx/settings.yml b/searx/settings.ymlindex 333d069a2..348268b4e 100644--- a/searx/settings.yml+++ b/searx/settings.yml@@ -691,7 +691,7 @@ engines:shortcut: yepcategories: generalsearch_type: web- timeout: 5+ timeout: 15disabled: true- name: yep images