diff options
| author | Alexandre Flament <alex@al-f.net> | 2020-10-04 09:06:20 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-10-04 09:06:20 +0200 |
| commit | b728cb610b92161609b1c40babff25749720fc25 (patch) | |
| tree | 733b665dd897cc8e4cd7e37f7d64a052c260d6f0 /searx/engines/google.py | |
| parent | e2cd9b65bb2b2e1f1085cf48442632da0d52077e (diff) | |
| parent | 8f914a28facec314a2b98b11d3cc1207eb8ee8ab (diff) | |
Merge pull request #2241 from dalf/move-extract-text-and-url
Move the extract_text and extract_url functions to searx.utils
Diffstat (limited to 'searx/engines/google.py')
| -rw-r--r-- | searx/engines/google.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/searx/engines/google.py b/searx/engines/google.py index c9faadb6e..83b18a9a0 100644 --- a/searx/engines/google.py +++ b/searx/engines/google.py @@ -21,9 +21,8 @@ Definitions`_. from urllib.parse import urlencode, urlparse from lxml import html from flask_babel import gettext -from searx.engines.xpath import extract_text from searx import logger -from searx.utils import match_language, eval_xpath +from searx.utils import match_language, extract_text, eval_xpath logger = logger.getChild('google engine') |