You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
searxng/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>
3 years ago
..
answerers
data [upd] engine_descriptions.json 3 years ago
engines [fix] ccengine engine - avoid unwanted redirects 3 years ago
metrics
network
plugins [refactor] add type hints & remove Setting._post_init 3 years ago
search
shared
static [build] /static 3 years ago
templates
translations [translations] update from Weblate 3 years ago
__init__.py
autocomplete.py
exceptions.py
external_bang.py
external_urls.py
flaskfix.py
languages.py
locales.py
preferences.py [refactor] refactor SwitchableSetting 3 years ago
query.py [fix] remove broken ? search operator 3 years ago
results.py
settings.yml [fix] Rename ccengine engine to openverse 3 years ago
settings_defaults.py
settings_loader.py
unixthreadname.py
utils.py
version.py
webadapter.py
webapp.py
webutils.py