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 cdb4927b8b [fix] fetch_traits: brave, google, annas_archive & radio_browser
This patch fixes a bug reported by CI "Fetch traits" [1] (brave) and improves
other fetch traits functions (google, annas_archive & radio_browser).

brave:

    File "/home/runner/work/searxng/searxng/searx/engines/brave.py", line 434, in fetch_traits
      sxng_tag = region_tag(babel.Locale.parse(ui_lang, sep='-'))
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    File "/home/runner/work/searxng/searxng/searx/locales.py", line 155, in region_tag
    Error:     raise ValueError('%s missed a territory')

google:

  change ERROR message about unknow UI language to INFO message

radio_browser:

  country_list contains duplicates that differ only in upper/lower case

annas_archive:

  for better diff; sort the persistence of the traits

[1] https://github.com/searxng/searxng/actions/runs/10606312371/job/29433352518#step:6:41

Signed-off-by: Markus <markus@venom.fritz.box>
1 month ago
..
answerers [fix] setup.py - packaging for 'answerers' to build a valid package 4 months ago
botdetection [fix] correct typo in API_WONDOW to API_WINDOW 2 months ago
data [data] update searx.data - update_ahmia_blacklist.py 2 months ago
enginelib
engines [fix] fetch_traits: brave, google, annas_archive & radio_browser 1 month ago
infopage [mod] add French translation for infopage 2 months ago
metrics
network [mod] remove py 3.6 leftovers 3 months ago
plugins [mod] enable calculator and allow plugin on public instances 2 months ago
search
static [build] /static 2 months ago
templates/simple [fix] search: crash when no engines are used to search 1 month ago
translations [l10n] update translations from Weblate 1 month ago
__init__.py
autocomplete.py [fix] html.unescape stract autocomplete suggestions 4 months ago
babel_extract.py
exceptions.py
external_bang.py
external_urls.py
flaskfix.py
limiter.py [fix] even if limiter not activated, botdetection must be activated 6 months ago
limiter.toml
locales.py [fix] fetch_traits: brave, google, annas_archive & radio_browser 1 month ago
preferences.py
query.py
redisdb.py
redislib.py
results.py [fix] search: titles including html brackets are not shown properly 2 months ago
searxng.msg [enh] Add engine for discourse forums 4 months ago
settings.yml [feat] gitlab: implement dedicated module 1 month ago
settings_defaults.py [feat] docker: add env vars for common public instance settings 4 months ago
settings_loader.py [mod] revision of the settings_loader 3 months ago
sxng_locales.py [data] update searx.data - update_engine_traits.py 3 months ago
unixthreadname.py
utils.py [feat] videos template: support for view count 3 months ago
version.py
webadapter.py
webapp.py [feat] results: show response times 2 months ago
webutils.py