mirror of
https://github.com/searxng/searxng
synced 2024-01-01 19:24:07 +01:00
[mod] mudularize & document searx.results
The intention of this patch is to improve modularization & documentation of the implementations about the *result* items. This patch does not contain any functional change! Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
This commit is contained in:
parent
cee586029c
commit
069e1d7fb4
15 changed files with 935 additions and 262 deletions
|
|
@ -11,7 +11,7 @@ import flask
|
|||
from searx import settings
|
||||
from searx.answerers import ask
|
||||
from searx.external_bang import get_bang_url
|
||||
from searx.results import ResultContainer
|
||||
from searx.results.container import ResultContainer
|
||||
from searx import logger
|
||||
from searx.plugins import plugins
|
||||
from searx.search.models import EngineRef, SearchQuery
|
||||
|
|
|
|||
|
|
@ -16,7 +16,7 @@ import httpx
|
|||
|
||||
from searx import network, logger
|
||||
from searx.utils import gen_useragent
|
||||
from searx.results import ResultContainer
|
||||
from searx.results.container import ResultContainer
|
||||
from searx.search.models import SearchQuery, EngineRef
|
||||
from searx.search.processors import EngineProcessor
|
||||
from searx.metrics import counter_inc
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue