Ponysearch/searx
Markus Heiser 4fc5e5299c [fix] ccengine engine - avoid unwanted redirects
api.openverse.engineering is a little picky and wants to have a trailing slash
in the path:

    /v1/images? -->/ v1/images/?

otherwise it redirects, here is the debug log:

    DEBUG   searx.network.openverse       : HTTP Request: GET https://api.openverse.engineering/v1/images?&page=1&page_size=20&format=json&q=foo "HTTP/2 301 Moved Permanently" (text/html; charset=utf-8)
    DEBUG   searx.network.openverse       : HTTP Request: GET https://api.openverse.engineering/v1/images/?&page=1&page_size=20&format=json&q=foo "HTTP/2 200 OK" (application/json)
    WARNING searx.engines.openverse       : ErrorContext('searx/search/processors/online.py', 105, 'count_error(', None, '1 redirects, maximum: 0', ('200', 'OK', 'api.openverse.engineering')) True

Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2022-01-07 14:14:31 +01:00
..
answerers [format.python] initial formatting of the python code 2021-12-27 09:26:22 +01:00
data [upd] engine_descriptions.json 2022-01-07 13:59:03 +01:00
engines [fix] ccengine engine - avoid unwanted redirects 2022-01-07 14:14:31 +01:00
metrics [enh] settings.yml: implement general.enable_metrics 2022-01-05 19:03:04 +01:00
network [mod] upgrade httpx 0.21.2 2022-01-05 18:46:00 +01:00
plugins [refactor] add type hints & remove Setting._post_init 2022-01-06 14:21:14 +01:00
search [enh] settings.yml: implement general.enable_metrics 2022-01-05 19:03:04 +01:00
shared [format.python] initial formatting of the python code 2021-12-27 09:26:22 +01:00
static [build] /static 2022-01-07 08:36:32 +01:00
templates [enh] display help text for "Other" engines tab in preferences 2022-01-05 11:03:44 +01:00
translations [translations] update from Weblate 2022-01-07 07:17:58 +00:00
__init__.py [format.python] initial formatting of the python code 2021-12-27 09:26:22 +01:00
autocomplete.py [format.python] initial formatting of the python code 2021-12-27 09:26:22 +01:00
exceptions.py [format.python] initial formatting of the python code 2021-12-27 09:26:22 +01:00
external_bang.py [pylint] fix global-variable-not-assigned issues 2021-09-17 10:14:27 +02:00
external_urls.py [format.python] initial formatting of the python code 2021-12-27 09:26:22 +01:00
flaskfix.py [format.python] initial formatting of the python code 2021-12-27 09:26:22 +01:00
languages.py Update searx.data - update_languages.py 2022-01-01 18:37:35 +01:00
locales.py [format.python] initial formatting of the python code 2021-12-27 09:26:22 +01:00
preferences.py [refactor] refactor SwitchableSetting 2022-01-06 18:56:02 +01:00
query.py [fix] remove broken ? search operator 2022-01-06 14:10:58 +01:00
results.py [format.python] initial formatting of the python code 2021-12-27 09:26:22 +01:00
settings.yml [fix] Rename ccengine engine to openverse 2022-01-07 13:06:05 +01:00
settings_defaults.py Merge pull request #634 from not-my-profile/powered-by 2022-01-06 09:22:02 +01:00
settings_loader.py [format.python] initial formatting of the python code 2021-12-27 09:26:22 +01:00
unixthreadname.py [format.python] initial formatting of the python code 2021-12-27 09:26:22 +01:00
utils.py [format.python] initial formatting of the python code 2021-12-27 09:26:22 +01:00
version.py [format.python] initial formatting of the python code 2021-12-27 09:26:22 +01:00
webadapter.py [fix] disabling all engines in a category makes the bang search in general 2022-01-03 20:23:46 +01:00
webapp.py Merge pull request #634 from not-my-profile/powered-by 2022-01-06 09:22:02 +01:00
webutils.py [enh] change categories_as_tabs from a list to a dict 2022-01-05 11:03:44 +01:00