diff options
author | Markus Heiser <markus.heiser@darmarit.de> | 2021-09-06 18:05:46 +0200 |
---|---|---|
committer | Markus Heiser <markus.heiser@darmarit.de> | 2021-09-06 18:05:46 +0200 |
commit | aecfb2300d2515ee5bb28058d4fb11b8fe5c3f04 (patch) | |
tree | f19342941a9e790d39d62553a830e83fea41e478 /searx/engines/core.py | |
parent | 7b235a1c36b09cfe2c6b4c97c3b6dad77e51d5ae (diff) | |
download | searxng-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.py | 5 |
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}' |