From ba8959ad7c18ce4165d29b7a472d845bd96f4735 Mon Sep 17 00:00:00 2001 From: Markus Heiser Date: Tue, 27 Sep 2022 17:01:00 +0200 Subject: [fix] typos / reported by @kianmeng in searx PR-3366 [PR-3366] https://github.com/searx/searx/pull/3366 Signed-off-by: Markus Heiser --- searx/engines/google.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'searx/engines/google.py') diff --git a/searx/engines/google.py b/searx/engines/google.py index 9cb936ccf..2f894b21f 100644 --- a/searx/engines/google.py +++ b/searx/engines/google.py @@ -326,14 +326,14 @@ def response(resp): # google *sections* if extract_text(eval_xpath(result, g_section_with_header)): - logger.debug("ingoring ") + logger.debug("ignoring ") continue try: title_tag = eval_xpath_getindex(result, title_xpath, 0, default=None) if title_tag is None: # this not one of the common google results *section* - logger.debug('ingoring item from the result_xpath list: missing title') + logger.debug('ignoring item from the result_xpath list: missing title') continue title = extract_text(title_tag) url = eval_xpath_getindex(result, href_xpath, 0, None) @@ -341,7 +341,7 @@ def response(resp): continue content = extract_text(eval_xpath_getindex(result, content_xpath, 0, default=None), allow_none=True) if content is None: - logger.debug('ingoring item from the result_xpath list: missing content of title "%s"', title) + logger.debug('ignoring item from the result_xpath list: missing content of title "%s"', title) continue logger.debug('add link to results: %s', title) -- cgit v1.2.3