mirror of
https://github.com/searxng/searxng.git
synced 2025-07-24 13:49:26 +02:00
[feat] results: show source of suggested answer
This commit is contained in:
parent
9100a48541
commit
13d801b75d
3 changed files with 18 additions and 6 deletions
|
@ -22,7 +22,7 @@ from typing import List, Dict, Iterable
|
|||
|
||||
import urllib
|
||||
import urllib.parse
|
||||
from urllib.parse import urlencode, unquote
|
||||
from urllib.parse import urlencode, urlparse, unquote
|
||||
|
||||
import httpx
|
||||
|
||||
|
@ -444,6 +444,7 @@ def render(template_name: str, **kwargs):
|
|||
}
|
||||
)
|
||||
)
|
||||
kwargs['urlparse'] = urlparse
|
||||
|
||||
# scripts from plugins
|
||||
kwargs['scripts'] = set()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue