<feed xmlns='http://www.w3.org/2005/Atom'>
<title>searxng/searxng_extra/update/update_engine_descriptions.py, branch custom</title>
<subtitle>Free internet metasearch engine which aggregates results from various search services and databases</subtitle>
<id>https://git.ikboikov.net/searxng/atom?h=custom</id>
<link rel='self' href='https://git.ikboikov.net/searxng/atom?h=custom'/>
<link rel='alternate' type='text/html' href='https://git.ikboikov.net/searxng/'/>
<updated>2026-06-24T10:10:28Z</updated>
<entry>
<title>[mod] update_engine_descriptions.py - revision of the script (#6309)</title>
<updated>2026-06-24T10:10:28Z</updated>
<author>
<name>Markus Heiser</name>
<email>markus.heiser@darmarIT.de</email>
</author>
<published>2026-06-24T10:10:28Z</published>
<link rel='alternate' type='text/html' href='https://git.ikboikov.net/searxng/commit/?id=e3126b89e69d1a56488f54f27928581a897cb058'/>
<id>urn:sha1:e3126b89e69d1a56488f54f27928581a897cb058</id>
<content type='text'>
* [mod] update_engine_descriptions.py - revision of the script (#6309)

The script was a bit outdated, type hints were missing, and the strings were
converted to double quotation marks

The `descriptions.items()` are sorted to avoid assigning the references to
seen_descriptions randomly (should reduce unnecessary diffs in the future).

Signed-off-by: Markus Heiser &lt;markus.heiser@darmarit.de&gt;

* [data] update searx.data - update_engine_descriptions.py (#6309)

Signed-off-by: Markus Heiser &lt;markus.heiser@darmarit.de&gt;

---------

Signed-off-by: Markus Heiser &lt;markus.heiser@darmarit.de&gt;</content>
</entry>
<entry>
<title>[mod] drop fasttext-predict (#5795)</title>
<updated>2026-03-06T14:40:44Z</updated>
<author>
<name>Brock Vojkovic</name>
<email>git@vojk.au</email>
</author>
<published>2026-03-06T14:40:44Z</published>
<link rel='alternate' type='text/html' href='https://git.ikboikov.net/searxng/commit/?id=68ff08f2244c6fa9e95255eb6733c157be2f46a7'/>
<id>urn:sha1:68ff08f2244c6fa9e95255eb6733c157be2f46a7</id>
<content type='text'>
Removes the `fasttext-predict` dependency and the language detection code.

If a user now selects `auto` for the search language, the detected language now
falls back directly to the `Accept-Language` header sent by the browser (which was already the fallback when fasttext returned no result).

- fasttext's [language detection is unreliable](https://github.com/searxng/searxng/issues/4195) for some languages, especially short search queries, and in particular for queries containing proper names which is a common case.
- `fasttext-predict` consumes [significant memory](https://github.com/searxng/searxng/pull/1969#issuecomment-1345366676) without offering users much real value.
- the upstream fasttext project was archived by Meta in 2024
- users already have two better alternatives: the `Accept-Language` header and the search-syntax language prefix (e.g. `:fr` or `:de`).

Related: https://github.com/searxng/searxng/issues/4195
Closes: https://github.com/searxng/searxng/issues/5790</content>
</entry>
<entry>
<title>[fix] cleanup: rename `searx` leftovers to `SearXNG` (#5049)</title>
<updated>2025-07-26T04:22:46Z</updated>
<author>
<name>Markus Heiser</name>
<email>markus.heiser@darmarIT.de</email>
</author>
<published>2025-07-26T04:22:46Z</published>
<link rel='alternate' type='text/html' href='https://git.ikboikov.net/searxng/commit/?id=649a8dd577b7db5549a34af6f667daf1b61ffb6b'/>
<id>urn:sha1:649a8dd577b7db5549a34af6f667daf1b61ffb6b</id>
<content type='text'>
Signed-off-by: Markus Heiser &lt;markus.heiser@darmarit.de&gt;</content>
</entry>
<entry>
<title>[mod] pylint all files with one profile / drop PYLINT_SEARXNG_DISABLE_OPTION</title>
<updated>2024-03-11T13:55:38Z</updated>
<author>
<name>Markus Heiser</name>
<email>markus.heiser@darmarit.de</email>
</author>
<published>2024-03-11T13:06:26Z</published>
<link rel='alternate' type='text/html' href='https://git.ikboikov.net/searxng/commit/?id=542f7d0d7bd1a12e1884ba4a1508b40e2514d472'/>
<id>urn:sha1:542f7d0d7bd1a12e1884ba4a1508b40e2514d472</id>
<content type='text'>
In the past, some files were tested with the standard profile, others with a
profile in which most of the messages were switched off ... some files were not
checked at all.

- ``PYLINT_SEARXNG_DISABLE_OPTION`` has been abolished
- the distinction ``# lint: pylint`` is no longer necessary
- the pylint tasks have been reduced from three to two

  1. ./searx/engines -&gt; lint engines with additional builtins
  2. ./searx ./searxng_extra ./tests -&gt; lint all other python files

Signed-off-by: Markus Heiser &lt;markus.heiser@darmarit.de&gt;
</content>
</entry>
<entry>
<title>[mod] comprehensive revision of the searxng_extra/update/ scripts</title>
<updated>2024-03-10T14:56:50Z</updated>
<author>
<name>Markus Heiser</name>
<email>markus.heiser@darmarit.de</email>
</author>
<published>2024-03-10T14:33:23Z</published>
<link rel='alternate' type='text/html' href='https://git.ikboikov.net/searxng/commit/?id=ce4aaf6cad9c0a57f5f12ef80ec4e1b45bcf87d4'/>
<id>urn:sha1:ce4aaf6cad9c0a57f5f12ef80ec4e1b45bcf87d4</id>
<content type='text'>
- pylint all scripts
- fix some errors reported by pyright
- from searx.data import data_dir (Path.open)
- fix import from pygments.formatters.html

NOTE: none functional changes!

Signed-off-by: Markus Heiser &lt;markus.heiser@darmarit.de&gt;
</content>
</entry>
<entry>
<title>[fix] searxng_extra/update/update_engine_descriptions.py (part 2)</title>
<updated>2023-04-15T14:04:05Z</updated>
<author>
<name>Alexandre FLAMENT</name>
<email>alexandre.flament@hesge.ch</email>
</author>
<published>2023-04-08T07:12:12Z</published>
<link rel='alternate' type='text/html' href='https://git.ikboikov.net/searxng/commit/?id=bb5db079c7d6a791fe4edd9fcd9825c4859ca581'/>
<id>urn:sha1:bb5db079c7d6a791fe4edd9fcd9825c4859ca581</id>
<content type='text'>
Wikipedia description are fetched without the help the wikipedia engine:

* the SQPARL query return the wikipedia URL of the article
</content>
</entry>
<entry>
<title>[fix] searxng_extra/update/update_engine_descriptions.py (part 1)</title>
<updated>2023-04-15T14:03:59Z</updated>
<author>
<name>Markus Heiser</name>
<email>markus.heiser@darmarit.de</email>
</author>
<published>2023-04-04T13:17:12Z</published>
<link rel='alternate' type='text/html' href='https://git.ikboikov.net/searxng/commit/?id=27369ebec23b39e9e61b175e6d23fdf2448da6b7'/>
<id>urn:sha1:27369ebec23b39e9e61b175e6d23fdf2448da6b7</id>
<content type='text'>
Follow up of #2269

The script to update the descriptions of the engines does no longer work since
PR #2269 has been merged.

searx/engines/wikipedia.py
==========================

1. There was a misusage of zh-classical.wikipedia.org:

   - `zh-classical` is dedicate to classical Chinese [1] which is not
     traditional Chinese [2].

   - zh.wikipedia.org has LanguageConverter enabled [3] and is going to
     dynamically show simplified or traditional Chinese according to the
     HTTP Accept-Language header.

2. The update_engine_descriptions.py needs a list of all wikipedias.  The
   implementation from #2269 included only a reduced list:

   - https://meta.wikimedia.org/wiki/Wikipedia_article_depth
   - https://meta.wikimedia.org/wiki/List_of_Wikipedias

searxng_extra/update/update_engine_descriptions.py
==================================================

Before PR #2269 there was a match_language() function that did an approximation
using various methods.  With PR #2269 there are only the types in the data model
of the languages, which can be recognized by babel.  The approximation methods,
which are needed (only here) in the determination of the descriptions, must be
replaced by other methods.

[1] https://en.wikipedia.org/wiki/Classical_Chinese
[2] https://en.wikipedia.org/wiki/Traditional_Chinese_characters
[3] https://www.mediawiki.org/wiki/Writing_systems#LanguageConverter

Closes: https://github.com/searxng/searxng/issues/2330
Signed-off-by: Markus Heiser &lt;markus.heiser@darmarit.de&gt;
</content>
</entry>
<entry>
<title>[mod] replace utils.match_language by locales.match_locale</title>
<updated>2023-03-24T09:37:42Z</updated>
<author>
<name>Markus Heiser</name>
<email>markus.heiser@darmarit.de</email>
</author>
<published>2023-02-07T13:11:58Z</published>
<link rel='alternate' type='text/html' href='https://git.ikboikov.net/searxng/commit/?id=16f0db44939c23d2980d6fd2e5dfada13d8f5ee9'/>
<id>urn:sha1:16f0db44939c23d2980d6fd2e5dfada13d8f5ee9</id>
<content type='text'>
This patch replaces the *full of magic* ``utils.match_language`` function by a
``locales.match_locale``.  The ``locales.match_locale`` function is based on the
``locales.build_engine_locales`` introduced in 9ae409a0 [1].

In the past SearXNG did only support a search by a language but not in a region.
This has been changed a long time ago and regions have been added to SearXNG
core but not to the engines.  The ``utils.match_language`` was the function to
handle the different aspects of language/regions in SearXNG core and the
supported *languages* in the engine.  The ``utils.match_language`` did it with
some magic and works good for most use cases but fails in some edge case.

To replace the concurrence of languages and regions in the SearXNG core the
``locales.build_engine_locales`` was introduced in 9ae409a0 [1].  With the last
patches all engines has been migrated to a ``fetch_traits`` and a
language/region concept that is based on ``locales.build_engine_locales``.

To summarize: there is no longer a need for the ``locales.match_language``.

[1] https://github.com/searxng/searxng/pull/1652

Signed-off-by: Markus Heiser &lt;markus.heiser@darmarit.de&gt;
</content>
</entry>
<entry>
<title>Replace langdetect with fasttext</title>
<updated>2022-12-16T19:07:39Z</updated>
<author>
<name>ArtikusHG</name>
<email>artiomoleynic@gmail.com</email>
</author>
<published>2022-12-11T15:45:47Z</published>
<link rel='alternate' type='text/html' href='https://git.ikboikov.net/searxng/commit/?id=1f8f8c1e91040fd10bacdc473b8d5f97dda6424e'/>
<id>urn:sha1:1f8f8c1e91040fd10bacdc473b8d5f97dda6424e</id>
<content type='text'>
</content>
</entry>
<entry>
<title>fix searxng_extra/update/update*.py scripts</title>
<updated>2022-07-02T10:16:00Z</updated>
<author>
<name>Alexandre Flament</name>
<email>alex@al-f.net</email>
</author>
<published>2022-06-29T18:56:16Z</published>
<link rel='alternate' type='text/html' href='https://git.ikboikov.net/searxng/commit/?id=578b2a81837b54444d91669803c3cc92838fc454'/>
<id>urn:sha1:578b2a81837b54444d91669803c3cc92838fc454</id>
<content type='text'>
call searx.locales.locales_initialize before using LOCALE_NAMES

Related to https://github.com/searxng/searxng/pull/1306
</content>
</entry>
</feed>
