diff options
Diffstat (limited to 'searx/engines/wallhaven.py')
-rw-r--r-- | searx/engines/wallhaven.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/searx/engines/wallhaven.py b/searx/engines/wallhaven.py index 127873d5d..4ab83a562 100644 --- a/searx/engines/wallhaven.py +++ b/searx/engines/wallhaven.py @@ -57,7 +57,7 @@ def request(query, params): } if api_key: - params['api_key'] = api_key + params['headers']['X-API-Key'] = api_key params['url'] = f"{base_url}/api/v1/search?{urlencode(args)}" return params |