diff options
author | Markus Heiser <markus.heiser@darmarit.de> | 2021-11-25 19:38:14 +0100 |
---|---|---|
committer | Markus Heiser <markus.heiser@darmarit.de> | 2021-11-25 19:42:03 +0100 |
commit | 488ace1da9f2d9328316abad78b354219a57be90 (patch) | |
tree | e19793a88bc55041336d97541f17bb2cbea30c21 /searx/engines/google_videos.py | |
parent | bd285de48a7db9f67c9e5dd50aba8742f552a245 (diff) | |
download | searxng-488ace1da9f2d9328316abad78b354219a57be90.tar.gz searxng-488ace1da9f2d9328316abad78b354219a57be90.zip |
[fix] google engine - suggestion
BTW: google no longer offers *spelling suggestions*
Closes: https://github.com/searxng/searxng/issues/442
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
Diffstat (limited to 'searx/engines/google_videos.py')
-rw-r--r-- | searx/engines/google_videos.py | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/searx/engines/google_videos.py b/searx/engines/google_videos.py index 9403ef4f7..86dc1867d 100644 --- a/searx/engines/google_videos.py +++ b/searx/engines/google_videos.py @@ -37,7 +37,6 @@ from searx.engines.google import ( href_xpath, content_xpath, suggestion_xpath, - spelling_suggestion_xpath, detect_google_sorry, ) @@ -186,7 +185,4 @@ def response(resp): # append suggestion results.append({'suggestion': extract_text(suggestion)}) - for correction in eval_xpath_list(dom, spelling_suggestion_xpath): - results.append({'correction': extract_text(correction)}) - return results |