diff options
author | Markus Heiser <markus.heiser@darmarit.de> | 2019-12-02 14:26:11 +0100 |
---|---|---|
committer | Markus Heiser <markus.heiser@darmarit.de> | 2019-12-02 14:26:11 +0100 |
commit | 30ad0c666df6644c4d05949f7bc5d7b1485f3fd6 (patch) | |
tree | 4e12d3054c0d57754f1a272beab5bc9c4af1170c | |
parent | b6d9f5aa71de43ff9a46f0d4d94baad429e2275d (diff) | |
download | searxng-30ad0c666df6644c4d05949f7bc5d7b1485f3fd6.tar.gz searxng-30ad0c666df6644c4d05949f7bc5d7b1485f3fd6.zip |
duckduckgo_definitions: remove the debug message
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
-rw-r--r-- | searx/engines/duckduckgo_definitions.py | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/searx/engines/duckduckgo_definitions.py b/searx/engines/duckduckgo_definitions.py index 49def2a2a..79d10c303 100644 --- a/searx/engines/duckduckgo_definitions.py +++ b/searx/engines/duckduckgo_definitions.py @@ -12,14 +12,11 @@ DuckDuckGo (definitions) import json from lxml import html from re import compile -import logging from searx.engines.xpath import extract_text from searx.engines.duckduckgo import _fetch_supported_languages, supported_languages_url, language_aliases from searx.url_utils import urlencode from searx.utils import html_to_text, match_language -logger = logging.getLogger('searx.engines.' + __name__) - url = 'https://api.duckduckgo.com/'\ + '?{query}&format=json&pretty=0&no_redirect=1&d=1' @@ -41,7 +38,6 @@ def request(query, params): language = match_language(params['language'], supported_languages, language_aliases) language = language.split('-')[0] params['headers']['Accept-Language'] = language - logger.debug("query %s: // headers: %s", params['url'], params['headers']) return params |