diff --git a/searx/engines/google.py b/searx/engines/google.py index 36adc3e4..96365daf 100644 --- a/searx/engines/google.py +++ b/searx/engines/google.py @@ -8,7 +8,7 @@ Definitions`_. https://developers.google.com/custom-search/docs/xml_results#WebSearch_Query_Parameter_Definitions """ -# pylint: disable=invalid-name, missing-function-docstring +# pylint: disable=invalid-name, missing-function-docstring, too-many-branches from urllib.parse import urlencode from lxml import html diff --git a/searx/engines/startpage.py b/searx/engines/startpage.py index d850eebe..247b49e3 100644 --- a/searx/engines/startpage.py +++ b/searx/engines/startpage.py @@ -16,6 +16,7 @@ from lxml import html from babel import Locale from babel.localedata import locale_identifiers +from searx import logger from searx.network import get from searx.utils import extract_text, eval_xpath, match_language from searx.exceptions import ( @@ -23,6 +24,7 @@ from searx.exceptions import ( SearxEngineCaptchaException, ) +logger = logger.getChild('startpage') # about about = {