summaryrefslogtreecommitdiff
path: root/searx/engines
diff options
context:
space:
mode:
Diffstat (limited to 'searx/engines')
-rw-r--r--searx/engines/yep.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/searx/engines/yep.py b/searx/engines/yep.py
index 726f62c0d..2de18b729 100644
--- a/searx/engines/yep.py
+++ b/searx/engines/yep.py
@@ -19,6 +19,8 @@ search_type = "web" # 'web', 'images', 'news'
safesearch = True
safesearch_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 params