diff options
author | Lucki <Lucki@holarse.de> | 2025-01-05 21:54:04 +0100 |
---|---|---|
committer | Markus Heiser <markus.heiser@darmarIT.de> | 2025-01-06 12:25:33 +0100 |
commit | 18c3e088374b997352cf5856fdddb6d89b6fef14 (patch) | |
tree | ca525b27e036421a61cfc8ac92025ec8d18e1936 /searx/engines/adobe_stock.py | |
parent | 96c32549bef1de19a98a9c19a8983f46e4425e73 (diff) | |
download | searxng-18c3e088374b997352cf5856fdddb6d89b6fef14.tar.gz searxng-18c3e088374b997352cf5856fdddb6d89b6fef14.zip |
Fix usage of `api_key` engine setting
The value of `params['api_key']` isn't read anywhere.
Writing directly into the header object solves this quite easily though.
> [Users can authenticate by including their API key either in a request URL by appending `?apikey=<API KEY>`, or by including the `X-API-Key: <API KEY>` header with the request.](https://wallhaven.cc/help/api)
Diffstat (limited to 'searx/engines/adobe_stock.py')
0 files changed, 0 insertions, 0 deletions