diff options
author | Markus Heiser <markus.heiser@darmarit.de> | 2024-07-02 12:08:10 +0200 |
---|---|---|
committer | Markus Heiser <markus.heiser@darmarIT.de> | 2024-07-20 09:59:43 +0200 |
commit | 657dcb973abe7fa65381fcf53d804a8502625392 (patch) | |
tree | 72187c5d3c688a8e393b7a44659c8b262c9895ca /searx/engines/yacy.py | |
parent | b0aa6fe8a50d7bb84b05037566e9fe0973bd7d3d (diff) | |
download | searxng-657dcb973abe7fa65381fcf53d804a8502625392.tar.gz searxng-657dcb973abe7fa65381fcf53d804a8502625392.zip |
[fix] engine yacy: update list of base URLs
https://search.lomig.me
Poor results / tested `!yacy :en hello` and got zero results
https://yacy.ecosys.eu
Slow response (> 6sec for trivial search terms)
https://search.webproject.link
Dead instance / URL offline
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
Diffstat (limited to 'searx/engines/yacy.py')
-rw-r--r-- | searx/engines/yacy.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/searx/engines/yacy.py b/searx/engines/yacy.py index 8f0718038..1328f1788 100644 --- a/searx/engines/yacy.py +++ b/searx/engines/yacy.py @@ -118,6 +118,8 @@ def _base_url() -> str: url = engines['yacy'].base_url # type: ignore if isinstance(url, list): url = random.choice(url) + if url.endswith("/"): + url = url[:-1] return url |