Browse Source

[fix] Internet links disappeared from wikidata side box

Closes: https://github.com/searxng/searxng/issues/4285

Reported and tested by: Popolon
Suggested-by: @dalf
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
Markus Heiser 2 months ago
parent
commit
147bda894e
1 changed files with 1 additions and 1 deletions
  1. 1 1
      searx/engines/wikidata.py

+ 1 - 1
searx/engines/wikidata.py

@@ -641,7 +641,7 @@ class WDURLAttribute(WDAttribute):
             return get_external_url(url_id, value)
             return get_external_url(url_id, value)
 
 
         if self.url_path_prefix:
         if self.url_path_prefix:
-            [account, domain] = value.split('@')
+            [account, domain] = value.split('@', 1)
             return f"https://{domain}{self.url_path_prefix}{account}"
             return f"https://{domain}{self.url_path_prefix}{account}"
 
 
         return value
         return value