Markus Heiser
5986629c6b
[fix] make data.traits - partial revert of commit 30a8204
...
The entries in the catalog of search languages are build up from the "Engine
Traits" [1] and which entries are included in the catalog is controlled qby two
threshold values [2].
If possible, the values should ensure that no languages or regions disappear
from the catalog of search languages [3].
The threshold values should have been adjusted in commit 30a8204:
- ``min_eng_per_region = 18``
- ``min_eng_per_lang = 22``
Because the threshold values were not adjusted, many entries were missing in the
search language catalog. This bug has been fixed with this patch: the threshold
values have been adjusted and the catalog of search languages has been completed
again.
[1] https://docs.searxng.org/dev/engines/enginelib.html#module-searx.enginelib.traits
[2] 96a6e3dcb2/searxng_extra/update/update_engine_traits.py (L104-L105)
[3] https://github.com/searxng/searxng/blob/master/searx/sxng_locales.py
Closes: https://github.com/searxng/searxng/issues/4519
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2025-03-22 07:52:36 +01:00
Ikko Eltociear Ashimine
2482646323
[fix] typo in doc-str: offical -> official
2025-03-21 11:05:54 +01:00
Markus Heiser
96a6e3dcb2
[fix] Results.url: don't normalize www.example.com to example.com
...
Hostname "www" in URL results can't be normalized to an empty string:
- https://www.tu-darmstadt.de/
- https://tu-darmstadt.de/
Reported-By: @Bnyro <bnyro@tutanota.com>
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2025-03-21 10:28:34 +01:00
searxng-bot
ef99cc472d
[l10n] update translations from Weblate
...
efbb54229 - 2025-03-16 - gkkulik <gkkulik@noreply.codeberg.org>
f76dddd02 - 2025-03-15 - cc5efd7b0 <cc5efd7b0@noreply.codeberg.org>
2025-03-21 08:40:14 +01:00
Bnyro
b75e56afe6
[fix] duckduckgo: answer sometimes contains faulty (duplicated) url
2025-03-21 07:48:30 +01:00
Bnyro
3668c7012e
[fix] presearch videos: item description and duration are located in metadata field
2025-03-20 20:55:09 +01:00
Aadniz
556db857aa
[fix] presearch engine: News and Videos formatted incorrectly
2025-03-20 20:44:43 +01:00
Tan Yong Sheng
40feede51e
[fix] engine: core.ac.uk implement API v3 / v2 is no longer supported
2025-03-19 17:51:00 +01:00
Bnyro
babbe9e1ae
[fix] duckduckgo: show proper source url of answers
2025-03-18 05:31:28 +01:00
Bnyro
885d02c8c3
[feat] engine: add selfh.st/icons for logos of common self-hosted programs
2025-03-17 20:23:54 +01:00
Bnyro
bbb2894b04
[engine] elasticsearch: add pagination support
2025-03-16 22:10:05 +01:00
Markus Heiser
a1d5add718
fixup! [fix] fix invalid escape error in Baidu Images & default config typo
2025-03-15 17:14:54 +01:00
Zhijie He
38caa49540
[fix] fix invalid escape error in Baidu Images & default config typo
2025-03-15 17:14:54 +01:00
Zhijie He
4ce7f1accc
[feat]: engines add images & kaifa from baidu.com
2025-03-15 17:14:54 +01:00
Markus Heiser
583007fd04
[build] /static
2025-03-15 10:36:33 +01:00
Markus Heiser
da7b069d6e
[fix] plugins: bugfix of tor_check and unit_converter
...
Closes: https://github.com/searxng/searxng/issues/4461
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2025-03-15 10:36:33 +01:00
Markus Heiser
f49b2c94a9
[mod] migrate all key-value.html templates to KeyValue type
...
The engines now all use KeyValue results and return the results in a
EngineResults object.
The sqlite engine can return MainResult results in addition to KeyValue
results (based on engine's config in settings.yml),
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2025-03-15 10:36:33 +01:00
Markus Heiser
af5dbdf768
[mod] typification of SearXNG: add new result type KeyValue
...
This patch adds a new result type: KeyValue
- Python class: searx/result_types/keyvalue.py
- Jinja template: searx/templates/simple/result_templates/keyvalue.html
- CSS (less) client/simple/src/less/result_types/keyvalue.less
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2025-03-15 10:36:33 +01:00
Markus Heiser
8769b7c6d6
[refactor] typification of SearXNG (MainResult) / result items (part 2)
...
The class ReslutContainer has been revised, it can now handle the typed Result
items of classes:
- MainResult
- LegacyResult (a dict wrapper for backward compatibility)
Due to the now complete typing of theses three clases, instead of the *getitem*
accesses, the fields can now be accessed directly via attributes (which is also
supported by the IDE).
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2025-03-15 10:36:33 +01:00
Markus Heiser
d6ce29f7f0
[build] /static
2025-03-15 09:03:49 +01:00
searxng-bot
6afe0e29a7
[l10n] update translations from Weblate
...
efa1f5656 - 2025-03-13 - return42 <return42@noreply.codeberg.org>
5e0a76d3c - 2025-03-13 - return42 <return42@noreply.codeberg.org>
2025-03-15 07:50:21 +01:00
Aadniz
a88b4d7036
[fix] presearch engine: domain sometimes included in beginning of titles
2025-03-08 12:39:16 +01:00
Austin-Olacsi
73d50f5748
[feat] add bilibili support to get get_embeded_stream_url
2025-03-08 10:47:30 +01:00
Aadniz
4884747508
[fix] presearch engine: Title showing <em> html code
2025-03-07 21:24:35 +01:00
Markus Heiser
eb3633629a
[fix] set language for engines from chinese market (no i18n index nor UI)
...
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2025-03-07 19:59:13 +01:00
Loris
02b76c8389
[fix] engine qwant: add tgp and llm arguments to avoid CAPTCHA
2025-03-07 18:58:45 +01:00
Markus Heiser
08a90d46d6
[doc] add missing docs for the search.max_page setting
...
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2025-03-07 10:07:41 +01:00
searxng-bot
860f0a35ac
[l10n] update translations from Weblate
...
a516df5a2 - 2025-03-06 - DanielBoone <danielboone@noreply.codeberg.org>
2763a5d77 - 2025-03-06 - return42 <return42@noreply.codeberg.org>
4a3a81c9b - 2025-03-06 - marc-lopez <marc-lopez@noreply.codeberg.org>
d2bd5b048 - 2025-03-05 - MonsoonFire <monsoonfire@noreply.codeberg.org>
752b558d6 - 2025-03-05 - buiducnhat <buiducnhat@noreply.codeberg.org>
0ff2ccf43 - 2025-03-04 - marc-lopez <marc-lopez@noreply.codeberg.org>
462a0625d - 2025-03-03 - Juno Takano <jutty@noreply.codeberg.org>
5cb41045c - 2025-03-02 - gkkulik <gkkulik@noreply.codeberg.org>
e599c3942 - 2025-03-02 - gkkulik <gkkulik@noreply.codeberg.org>
d44128eda - 2025-03-02 - gkkulik <gkkulik@noreply.codeberg.org>
2025-03-07 08:16:45 +01:00
Bubu
b8671c7a4a
[feat] engines: add baidu (general)
2025-03-07 06:59:28 +01:00
Zhijie He
066aabc112
[feat] engines: add www.acfun.cn
2025-03-06 17:52:16 +01:00
Zhijie He
8fe4904619
[feat] engines: add www.iqiyi.com
...
Co-authored-by: Bnyro <bnyro@tutanota.com>
2025-03-06 17:28:14 +01:00
Zhijie He
08d08475fc
[feat] engines: add www.chinaso.com
...
Co-authored-by: Bnyro <bnyro@tutanota.com>
2025-03-06 17:23:11 +01:00
Markus Heiser
194f222203
[fix] engines: Google-Web & Google-Video (random arc_id)
...
Both enghines have been reported ``TooManyRequests``, additionaly Google-Videos
thumbnails needed a review.
Based on the research from @unixfox [1] this patch generates every hour a new random
``arc_id``.
[1] https://github.com/searxng/searxng/issues/4435#issuecomment-2703279522
Closes:
- https://github.com/searxng/searxng/issues/4435
- https://github.com/searxng/searxng/issues/4431
Related:
- https://github.com/searxng/searxng/discussions/4434
- https://github.com/searxng/searxng/discussions/4429
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2025-03-06 15:43:53 +01:00
Markus Heiser
8984d7ae02
[fix] brave engine: add sec-fetch headers and source=web argument
...
The intention is to reduce the "TooManyRequestsException".
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2025-03-02 18:19:55 +01:00
Zhijie He
b0beb307ca
[chore] add `timediff` field for sogou_videos
...
Co-authored-by: Bnyro <bnyro@tutanota.com>
2025-03-02 13:31:31 +01:00
Zhijie He
76f52b5b45
[feat] add Sogou WeChat article search support
2025-03-02 13:31:31 +01:00
Zhijie He
97aa5a779b
[feat] add Sogou engine for searxng
...
Co-authored-by: Bnyro <bnyro@tutanota.com>
2025-03-02 13:31:31 +01:00
Zhijie He
71d1504e57
[feat] add 360search engine for searxng
...
Co-authored-by: Bnyro <bnyro@tutanota.com>
2025-03-02 13:25:35 +01:00
Markus Heiser
80f5fad16e
[fix] add backward compatibility for the "enabled_plugins:"
...
Before #4183 a builtin plugin was *defautlt_on* when it is listed in the
"enabled_plugins" settings, this patch restores the previous behavior.
Not part of this patch but just to mentioning in context of #4263 :
In the long term, we will abolish the "enabled_plugins:" setting and combine
all options for the plugins in the "plugins:" setting, as is already planned
in the PR #4282
Closes: https://github.com/searxng/searxng/issues/4263
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2025-03-01 18:02:31 +01:00
Bnyro
a51416c7c3
[feat] engines: add openclipart.org
2025-03-01 18:01:51 +01:00
Markus Heiser
d0022d86d2
[refactor] soundcloud engine
...
Closes: https://github.com/searxng/searxng/issues/4226
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2025-03-01 17:51:14 +01:00
Markus Heiser
1d16b94279
[fix] wikidata: increase wikidata queries timeout
...
The big queries for initializing and updating the currencies take longer than
the default of the wikidata engine, which is only 3sec.
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2025-03-01 12:21:29 +01:00
return42
30a820437d
[data] update searx.data - update_engine_traits.py
2025-03-01 09:43:06 +01:00
Markus Heiser
03419078ef
[fix] bing fetch engine traits - adjusted XPath selectors
...
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2025-03-01 09:43:06 +01:00
return42
01e2b3e325
[data] update searx.data - update_firefox_version.py
2025-03-01 07:47:48 +01:00
return42
ccf485c519
[data] update searx.data - update_wikidata_units.py
2025-03-01 07:47:24 +01:00
return42
64810ee911
[data] update searx.data - update_ahmia_blacklist.py
2025-03-01 07:44:28 +01:00
return42
a4b120c33d
[data] update searx.data - update_engine_descriptions.py
2025-03-01 07:43:29 +01:00
return42
73e4128970
[data] update searx.data - update_external_bangs.py
2025-03-01 07:43:00 +01:00
searxng-bot
28b5cbf276
[l10n] update translations from Weblate
...
0e9536840 - 2025-02-24 - dauiau <dauiau@users.noreply.translate.codeberg.org>
047501d2d - 2025-02-25 - return42 <return42@users.noreply.translate.codeberg.org>
647b20923 - 2025-02-21 - kratos <kratos@users.noreply.translate.codeberg.org>
288d0d4c8 - 2025-02-21 - guenael <guenael@users.noreply.translate.codeberg.org>
2025-02-28 12:57:15 +01:00