summaryrefslogtreecommitdiff
path: root/searx/engines/core.py
diff options
context:
space:
mode:
authorMarkus Heiser <markus.heiser@darmarit.de>2021-09-06 18:05:46 +0200
committerMarkus Heiser <markus.heiser@darmarit.de>2021-09-06 18:05:46 +0200
commitaecfb2300d2515ee5bb28058d4fb11b8fe5c3f04 (patch)
treef19342941a9e790d39d62553a830e83fea41e478 /searx/engines/core.py
parent7b235a1c36b09cfe2c6b4c97c3b6dad77e51d5ae (diff)
downloadsearxng-aecfb2300d2515ee5bb28058d4fb11b8fe5c3f04.tar.gz
searxng-aecfb2300d2515ee5bb28058d4fb11b8fe5c3f04.zip
[mod] one logger per engine - drop obsolete logger.getChild
Remove the no longer needed `logger = logger.getChild(...)` from engines. Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
Diffstat (limited to 'searx/engines/core.py')
-rw-r--r--searx/engines/core.py5
1 files changed, 0 insertions, 5 deletions
diff --git a/searx/engines/core.py b/searx/engines/core.py
index 0d9724695..5e87400bd 100644
--- a/searx/engines/core.py
+++ b/searx/engines/core.py
@@ -9,11 +9,8 @@ from json import loads
from datetime import datetime
from urllib.parse import urlencode
-from searx import logger
from searx.exceptions import SearxEngineAPIException
-logger = logger.getChild('CORE engine')
-
about = {
"website": 'https://core.ac.uk',
"wikidata_id": 'Q22661180',
@@ -29,8 +26,6 @@ nb_per_page = 10
api_key = 'unset'
-logger = logger.getChild('CORE engine')
-
base_url = 'https://core.ac.uk:443/api-v2/search/'
search_string = '{query}?page={page}&pageSize={nb_per_page}&apiKey={apikey}'